I want to pass list to a function using parameters

```
List<Employee> iList = new List<Employee>();
public void GetEmployeeData()
{
    for (int i = 0; i < 10; i++)
    {
         iList[i].age = 12;
         iList[i].Name = "Sandhya";
         iList[i].cadder = "A+";
         PassListData(iList[i].Name, iList[i].age, iList[i].cadder);
    }
}

void PassListData(string Name, int age, string Cadder)
{
    Console.WriteLine(Name);
    Console.WriteLine(age);
    Console.WriteLine(Cadder);
}         

```