Friday, 24 June 2016

C# Tutorial - For Beginners & Professionals ~ Introduction to C Sharp

C# is developed by microsoft and comes after C, C++, Java. It inherits the properties of C, C++, Java, VB. We can say C# is smart and intelligent sister of Java because it do work smartly in comprasion to Java. The basic concept of C# language are same as C, C++ to whom you have learnt in C, C++ tutorials. The advance concept of C# language are as : Object Object is representative of the...
Read More »

C# Tutorial - For Beginners & Professionals ~ C Sharp Var data type and Anonymous Type

Var data type was introduced in C# 3.0. var is used to declare implicitly typed local variable means it tells the compiler to figure out the type of the variable at compilation time. A var variable must be initialized at the time of declaration. Valid var statements var str = "1"; var num = 0; string s = "string"; var s2 = s; s2 = null; string s3 = null; var s4 = s3; At compile time,...
Read More »

C# Tutorial - For Beginners & Professionals ~ C Sharp Anonymous Method

The concept of anonymous method was introduced in C# 2.0. An anonymous method is inline unnamed method in the code. It is created using the delegate keyword and doesn’t required name and return type. Hence we can say, an anonymous method has only body without name, optional parameters and return type. An anonymous method behaves like a regular method and allows us to write inline code...
Read More »