A) Append( )B) AppendFormat( )C) Tostring( )
Latest Answer: I think String.Format() is called that ultimately calls StringBuilder.AppendFormat() and StringBuilder.Append() .AppendFormat in turn calls ToString(). ...
A) An arraylist of object Arr is created with the capacity of 16B) An arraylist of object Arr is created with the capacity of 20C) An arraylist of object Arr is created with the capacity of 26Explanation:
Latest Answer: In .Net v1, default initial capacity of ArrayList is 16.In .Net v2, default initial capacity of ArrayList lowered to 4.In .Net v3.5, default initial capacity of ArrayList lowered to 0.Now, when you add the first element to a new arraylist it sets ...
A) Removes the object whose key is 1B) Removes the object whose value is 1C) Removes the object at position 1
Latest Answer: Correct Answer: CRemoves the object at postion 1. Vectors.RemoveAt(int index); Default index value is 0. If the default value is not changed for it, it removes the second element from the collection. ...
A) IenumeratorB) IcollectionC) Ienumerable
Latest Answer: The foreach loop automatically uses the IEnumerable interface, invoking GetEnumerator( ).The GetEnumerator method is declared to return an IEnumerator of string:public IEnumerator GetEnumerator( ) ...
A) With Add methodB) With insert MethodC) With = operator
Latest Answer: See the example here:Hashtable ht = new Hashtable(); ht.Add(0, "Kals");ht.Add(1, "Kal"); (or)ht[0] = "ABC"; ht[1] = "XYZ"; ...
A) TrueB) False
Latest Answer: Yes Ans (A) is right. If two objects compare as equal it must both return same hash code. ...
A) System.ReflectionB) SystemC) System.InteropServices
Latest Answer: System.Reflection.Assembly a = new System.Reflection.Assembly(); ...
A) Load corresponding assembly to running processB) Query the assemblyC) None
Latest Answer: Answer is (A) Load assembly to running process ...
A) Assembly.Load( )B) Assembly.LoadFrom( )C) Both
Latest Answer: we can load to by usingAssembly obj=Assembly.load("path");orAssembly obj=Assembly.LoadFrom("path"); ...
A) TrueB) FalseExplanation: Assemblies can be loaded side by side
Latest Answer: True.Assemblies can be loaded side by side. Different versions of same assemble can be used inside a single process.Source: Professional C # 2005. Wrox edition ...
View page << Previous 10 11 12 13 [14] 15 16 17 18 19 Next >>

Go Top