by Yogesh | Dec 2, 2015 | C#
Using a delegate allows the programmer to encapsulate a reference to a method inside a delegate object. The delegate object can then be passed to code which can call the referenced method, without having to know at compile time which method will be invoked. Delegates...
by Yogesh | Apr 22, 2015 | Asp .net MVC, C#
New way of Object Initialization: C# 3.0 introduces new way to initialize the objects. Object initialization is used to assign values to accessible fields of an object at the time of creation of Object without invoke the constructor. Old Approrach public...