var
Using var outside of a method
I wanted to use the var keyword to declare a field in my class however var only seems to work inside methods.[详细]
2022-12-14 04:52 分类:问答C# - var to List<T> conversion
How to cast/convert a var type to a List type? This code snippet is giving me error: List<Student> studentCollection = Student.Get();[详细]
2022-12-08 10:03 分类:问答