This should be simple for C# developers. I am new to the language and syntax.
Here is some basic VB.net code which I use all the time to access a class library call which returns a list(of structure)
How would I write this code in C#.
Dim myEmp As New clsLibrary.Employees
Dim myList As New List(Of clsLibrary.Employees.Employees_Structure)
myList = myEmp.getStructEmployeeList("SEN", "Active")
Dim query = From emp In myList Order By emp.LastName, emp.FirstName
For Each item In query
Response.Write(item.LastName & "<br/>")