0
Are the technique for use var and generic types are closed?
After explenation of generic using, I think var and generic for some way have same autodetecting of types.
3 odpowiedzi
+ 6
Nope, remember that when you want to call a generic method/function, or create a new generic class, you have to tell it what datatype you are working with. Hence it doesn't have to autodetect datatypes cause you will be telling it anyway.
0
Aha, tnx for answer :)