Version of C#->1.0,1.1,2.0,3.0
Features of C#.Net is:-
1)Local Type Inferences
2)Lamda Expressions
3)Query Expressions
4)Object Inialization
and more……
Version of C#->1.0,1.1,2.0,3.0
Features of C#.Net is:-
1)Local Type Inferences
2)Lamda Expressions
3)Query Expressions
4)Object Inialization
and more……
Last time i attend microsoft conference really good and security rokcing in next few months and chek this links any body want information of latest
Visit this site www.iis.net
// Declare the generic class. public class GenericList<T> { void Add(T input) { } } class TestGenericList { private class ExampleClass { } static void Main() { // Declare a list of type int. GenericList<int> list1 = new GenericList<int>(); // Declare a list of type string. GenericList<string> list2 = new GenericList<string>();// Declare a list of type ExampleClass. GenericList<ExampleClass> list3 = new GenericList<ExampleClass>(); } }
Microsot Released Sqlserver 2005 Service Pack 2
Download Link is
The following example shows a simple class that has some auto-implemented properties:
class LightweightCustomer
{
public double TotalPurchases { get; set; }
public string Name { get; private set; } // read-only
public int CustomerID { get; private set; } // read-only
}
Auto-implemented properties must declare both a get and a set accessor. To create a readonly auto-implemented property, give it a private set accessor.
Attributes are not permitted on auto-implemented properties. If you must use an attribute on the backing field of a property, just create a regular property.
Recent Comments