GeekInterview.com
  I am new, Sign me up!
 

C# Interview Questions


C# Interview Questions

Questions: 436
Comments: 1181
 Showing Questions 131-140 of 436 Questions
<< Previous 10 11 12 13 [14] 15 16 17 18 19 Next >>
 Sponsored Links

 
 C# Interview Questions
Sorting Options :  

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 >>

Ask A Question
Go Top
 Sponsored Links

 
Sponsored Links

 
Ask Question
You must login to Ask Question or Register your free account

Category:

 
Question Title:


Question in Detail:

Add this to my Subscribed Questions (?)
Send me email when new answer is posted (?)

 
Expert Members
# User Name Count
1sahu 205
2samiksc 59
3naveentej 25
4nikhilrawat23 15
5Vikas Yadav 13
6musclebai 13
7md.shafikhan 11
8swag 11
9vshylaja 9
10John Jiang 8
Subscribe
Get Latest Updates Via RSS Reader or by Email
 Forum Discussion Subscribe to Forum Discussions Via E-Mail Latest Forum Discussions Subscribers
 Knowledge Base Subscribe to Knowledge Base Series Via E-Mail Knowledge Base Subscribers
 Learning Series Subscribe to GeekInterview Learning Series Via EMail Learning Series Subscribers
 Freelance Jobs Subscribe to GeekInterview Freelance Jobs Via EMail Latest Freelance Jobs Subscribers
 GeekInterview Blog Subscribe to GeekInterview Blog Via EMail GeekInterview Blog Subscribers
 Testing Interview Questions Subscribe to Testing Interview Questions Via EMail Testing Interview Questions Subscribers
 Oracle Interview Questions Subscribe to Oracle Interview Questions Via EMail Oracle Interview Questions Subscribers
 Java Interview Questions Subscribe to Java Interview Questions Via EMail Java Interview Questions Subscribers
 Latest Placement Papers Subscribe to Latest Placement Papers Placement Papers Subscribers
 Free Training Subscribe to Free Training Via EMail Free Training Subscribers
 Learn AJAX Subscribe to AJAXwith.com Via EMail AJAXwith Subscribers
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape