Latest Answer: Just right click on the .cs file and select the option view class diagram.A diagram file .cd will be generated.Further u can add method to the .cd file and extract interface etc from it. ...
Latest Answer: false in c# ...
Latest Answer: multiple delegates and multicast delegates both are diffrent terms with diffrent aspects.delegate having one property that it could have multiple delegates in it.it means single delegates contain multiple delegates definition whilein other case multicast ...
Latest Answer: Aliases can be useful in the case if you are using a lenthy namespace.You can create an aliase for namespace and can acess its classes via alias.On the negative side it can cause some conflicts if you declare any class with same name in that scope.But ...
Latest Answer: Public constructors are used to instantiate and initialize the fields during object instantiation.Private constructors are used to restrict the instatiation of object using 'new' operator. This type of constructors are mainly used for creating singleton ...
Latest Answer: Yes you can do it in .net 2.0 onwardsstring name;public string Name{get { return name; }protected set{name = value;}}You cannot specify access modifier for both getter and setter at same time. The other will always take the default from property. ...
Latest Answer: Oops...The difference is that for a ref parameter, you have to assign a value before you call the function, while for OUT parameter, you dont have to assign a value, the calling function assumes that the called function would assign some value. ...
What is the difference between Cast and Convert
int i1 = 5;double d1 = i1 + 0.99;int i2 = (int)d1; //result is 5i2 = Convert.ToInt32(d1);//result is 6Why does cast and convert in above example have different results.
Latest Answer: In .NET 1.1 you can use the type "object" to store the values. You then have the choice of setting the object reference to "null" or storing the value. The issue here is that the object could contain any type of information ...
View page << Previous 1 2 3 4 [5] 6 7 8 9 10 Next >>

Go Top