0

Var values = new List<object>();

what does this mean?

4th Jul 2017, 8:01 AM
Narayana Naru
Narayana Naru - avatar
1 Resposta
0
var values tells the compiler to create a variable with the name values and to infer its type if possible. Its type, in this case, should be inferred as a List that holds objects. values is set to new List<object>() which creates an empty List that can hold the object type.
4th Jul 2017, 8:13 AM
ChaoticDawg
ChaoticDawg - avatar