5 things that you cannot do with a Local Type Inference in C#(www.ginktage.com)
submitted by
isenthil(2304) 2 years ago
The Local Type Inference is also called as Implicitly Types Local Variables in C# and is an easy way to create a variable without having to know the type.
This is especially useful when using a LINQ via the var keyword .
The var keyword only works with the local scope , you cannot return or reference a variable created with the var ouside the scope of the local method.
1. You cann...
|category: C#
|Views: 15
tags:
C# another
Everyones tags:
Your Tags: