Docstoc

C_ .Net Interview Questions

Document Sample
C_ .Net Interview Questions Powered By Docstoc
					 gaurav360's Mailbox



    Inbox                  Compose                  Addresses                 Help
 Logout




Inbox First | Previous | Next | Last
   Move Selected To InboxDraftsSpam Bin



 Date: Tue, 25 Sep 2007 05:27:11 +0100 (BST) Printer Friendly Version
 From: nikita sen <nikita.tutorial@yahoo.co.in>
 domainkeys has verified the mail as legitimate
 To: Vyom-Jobs@yahoogroups.com , jobsassist@googlegroups.com
 Cc: jobsassist@yahoogroups.com
 Subject: [ www.VYOMS.com ] C# .Net Interview Questions, Good and realistic questions along with
answers !
 Language Mail Full Headers




--------------------------------------------------------------------------------

Interview Questions Home | Ask Questions | Interview Success Kit

--------------------------------------------------------------------------------

C# .Net Interview Questions
Welcome to the exciting world of New Interview Questions. Here, you can read the existing answers,
provide your own answers, ask new questions, save your favorite questions and do much more!
INTERACTION WITH HARDWARE THROUGH "C"
www.newinterviewquestions.com/interview/11331



1. In C#, which is not the correct way to declare a jagged array?
Select answer int[][] n = new int[2][] { new int[] {2,3}, new int[] {5,6} }; int[][] n = new
int[][] { new int[] {2}, new int[] {8,9} }; int[][] n = { new int[] {0,3,2}, new int[] {5,1,7,8,8}
}; int[][] n = new int[][] { {2,3}, {8,9} }; int[][] n = new int[5][];
www.newinterviewquestions.com/interview/11487



2. Name some of the Microsoft Application Blocks. Have you used any? Which ones?
www.newinterviewquestions.com/interview/8869



3. What is the difference between shadow and override
www.newinterviewquestions.com/interview/8870



4. You have an event handler called MyEvent and you want to link the click event of control,
MyButton, to use MyEvent, what is the code that will like them together?
www.newinterviewquestions.com/interview/8871



5. Which debugging window allows you to see the methods called in the order they were called?
www.newinterviewquestions.com/interview/8872



6. Which debugging window allows you to see all the name and values of all the variables in scope?
www.newinterviewquestions.com/interview/8873



7. What is wrapper class?is it available in c#?
www.newinterviewquestions.com/interview/8874



8. What is protected internal class in C#
www.newinterviewquestions.com/interview/8875



9. Which keyword is used of specify a class that cannot inherit by other class
www.newinterviewquestions.com/interview/8876



10. Can u create the instance for abstract classes
www.newinterviewquestions.com/interview/8877



11. Can we use Friend Classes or functions in C# the way we use it in C++
www.newinterviewquestions.com/interview/8878
12. How we can use inheritance and polymorphisms in c# programming?
www.newinterviewquestions.com/interview/8879



13. How to find exceptions in database
www.newinterviewquestions.com/interview/8880



14. How can objects be late bound in .NET?
www.newinterviewquestions.com/interview/8881



15. Where we can use DLL made in C#.Net
www.newinterviewquestions.com/interview/8882



16. What Datatypes does the RangeValidator Control support?
www.newinterviewquestions.com/interview/8883



17. Constructor is the method which is implicitly created when ever a class is instantiated. Why?
www.newinterviewquestions.com/interview/8884



18. Why multiple Inheritance is not possible in C#?
www.newinterviewquestions.com/interview/8885



19. Why strings are immutable?
www.newinterviewquestions.com/interview/8886



20. This is a Regular expression built for parsing string in vb.net and passed to Regex class. Dim
r As Regex = New Regex(",(?=([^""]*""[^""]*"")*(?![^""]*""))") What is C# equivalent for this
regular expression.
www.newinterviewquestions.com/interview/8887



21. How to convert ocx into DLL
www.newinterviewquestions.com/interview/8888



22. What is the main difference between pointer and delegate with examples?
www.newinterviewquestions.com/interview/8889
23. What is object pooling
www.newinterviewquestions.com/interview/8890



24. How do i read the information from web.config file?
www.newinterviewquestions.com/interview/8891



25. What is the default Function arguments?
www.newinterviewquestions.com/interview/8892



26. What is XML Schema?
27. http://www.newinterviewquestions.com/interview/8893



28. How can i check whether a dataset is empty or not in C#.net
www.newinterviewquestions.com/interview/8894



29. Is it possible to inherit a class that has only private constructor?
www.newinterviewquestions.com/interview/8895



30. How do you choose 1 entry point when C# project has more Main( ) method?
www.newinterviewquestions.com/interview/8896



31. The compiler throws an error if XML comments is not well formed
www.newinterviewquestions.com/interview/8897



32. Which of the following is not a C# reserved keyword
www.newinterviewquestions.com/interview/8898



33. By declaring a base class function as virtual we allow the function to be overridden in
subclasses
www.newinterviewquestions.com/interview/8899



34. Which of the following can not be declared as virtual
www.newinterviewquestions.com/interview/8900



35. Sealed class can be inherited
www.newinterviewquestions.com/interview/8901



36. Which of the following statements is not true for interfaces
www.newinterviewquestions.com/interview/8902



37. It is not permitted to declare modifier on the members in an interface definition
www.newinterviewquestions.com/interview/8903



38. Interface members can not be declared as
www.newinterviewquestions.com/interview/8904



39. Which method is implicitly called when an object is created
www.newinterviewquestions.com/interview/8905



40. Which of the following statement is invalid with regards to constructor
www.newinterviewquestions.com/interview/8906



41. Constructors can not be static
www.newinterviewquestions.com/interview/8907



42. It is perfectly legitimate to throw exceptions from catch and finally blocks
www.newinterviewquestions.com/interview/8908



43. It is not possible for a delegate to wrap more than 1 methos
www.newinterviewquestions.com/interview/8909



44. In C# events are actually a special form of delegates
www.newinterviewquestions.com/interview/8910



45. Which preprocessor directive are used to mark that contain block of code is to be treated as a
single block
www.newinterviewquestions.com/interview/8911



46. How are the attributes specified in C#
www.newinterviewquestions.com/interview/8912
47. For performing repeated modification on string which class is preferred
www.newinterviewquestions.com/interview/8913



48. In order to use stringbuilder in our class we need to refer
www.newinterviewquestions.com/interview/8914



49. Which of the following is not a member of stringbuilder
www.newinterviewquestions.com/interview/8915



50. Which method is actually called ultimately when Console.WriteLine( ) is invoked
www.newinterviewquestions.com/interview/8916



51. What happens when you create an arraylist as ArrayList Arr=new ArrayList()
www.newinterviewquestions.com/interview/8917



52. What is the output of Vectors.RemoveAt(1)
www.newinterviewquestions.com/interview/8918



53. GetEnumerator( ) of Ienumerable interface returns
www.newinterviewquestions.com/interview/8919



54. How do you add objects to hashtable
www.newinterviewquestions.com/interview/8920



55. If A.equals(B) is true then A.getHashcode & B.getHashCode must always return same hash code
www.newinterviewquestions.com/interview/8921



56. The assembly class is defined in
www.newinterviewquestions.com/interview/8922



57. What is the first step to do anything with assembly
www.newinterviewquestions.com/interview/8923
58. How do you load assembly to running process
www.newinterviewquestions.com/interview/8924



59. Assemblies cannot be loaded side by side
www.newinterviewquestions.com/interview/8925



60. Application Isolation is assured using
www.newinterviewquestions.com/interview/8926



61. Where does the version dependencies recorded
www.newinterviewquestions.com/interview/8927



62. How do you refer parent classes in C#
www.newinterviewquestions.com/interview/8928



63. Which attribute you generally find on top of main method
www.newinterviewquestions.com/interview/8929



64. How do you make a class not instantiable
www.newinterviewquestions.com/interview/8930



65. In a multilevel hierarchy how are the constructors are called
www.newinterviewquestions.com/interview/8931



66. Which utility is used to create resource file
www.newinterviewquestions.com/interview/8932



67. What is the extension of a resource file
www.newinterviewquestions.com/interview/8933



68. A shared assembly must have a strong name to uniquely identify the assembly
www.newinterviewquestions.com/interview/8934



69. Public policy applies to
www.newinterviewquestions.com/interview/8935
70. Stream object can not be initialized
www.newinterviewquestions.com/interview/8936



71. Which of the following has stream as the base class
www.newinterviewquestions.com/interview/8937



72. Which class use to Read/Write data to memory
www.newinterviewquestions.com/interview/8938



73. To Configure .Net for JIT activation what do you do
www.newinterviewquestions.com/interview/8939



74. Which method is used by COM+ to ascertain whether class can be pooled
www.newinterviewquestions.com/interview/8940



75. How do you import Activex component in to .NET
www.newinterviewquestions.com/interview/8941



76. Net Remoting doesn’t allow creating stateless & stateful Remote objects
www.newinterviewquestions.com/interview/8942



77. Windows services created by C# app run only
www.newinterviewquestions.com/interview/8943



78. The C# keyword int maps to which .NET type
79. http://www.newinterviewquestions.com/interview/8944



80. What is an indexer in C#
www.newinterviewquestions.com/interview/8945



81. In the following cases which is not function overloading
www.newinterviewquestions.com/interview/8946
82. How to implement multiple inheritence in C#
www.newinterviewquestions.com/interview/8947



83. In C# a technique used to stream the data is known as
www.newinterviewquestions.com/interview/8948



84. Can static methods be overridable?
www.newinterviewquestions.com/interview/8949



85. What is the use of fixed statement
www.newinterviewquestions.com/interview/8950



86. What is the order of destructors called in a polymorphism hierarchy
www.newinterviewquestions.com/interview/8951



87. How can you sort the elements of the array in descending order
www.newinterviewquestions.com/interview/8952



88. Is it possible to Override Private Virtual methods
www.newinterviewquestions.com/interview/8953



89. What does the volatile modifier do
www.newinterviewquestions.com/interview/8954



90. What is the C# equivalent of System.Single
www.newinterviewquestions.com/interview/8955



91. A single line comments are implemented by
www.newinterviewquestions.com/interview/8956



92. Code running under the control of CLR is often referred as
www.newinterviewquestions.com/interview/8957



93. Platform specific code is obtained when
www.newinterviewquestions.com/interview/8958
94. Intermediate Language also facilitates language interoperability
www.newinterviewquestions.com/interview/8959



95. Which are the important features of IL
www.newinterviewquestions.com/interview/8960



96. NET interfaces are not derived from IUnknown & they do not have associated GUID’s
www.newinterviewquestions.com/interview/8961



97. Code written in C# can not used in which of the languages
98. http://www.newinterviewquestions.com/interview/8962



99. It is not possible to debug the classes written in other .Net languages in a C# project.
100. http://www.newinterviewquestions.com/interview/8963



101. Which of the following is not a subclass of Value Type class
102. http://www.newinterviewquestions.com/interview/8964



103. Which of the following is not a subclass of reference type
104. http://www.newinterviewquestions.com/interview/8965



105. Which is .NET s answer to Memory Management
106. http://www.newinterviewquestions.com/interview/8966



Cheers,
Team,
New Interview Questions.com
www.newinterviewquestions.com



--------------------------------------------------------------------------------
Flying to Bangalore or Bhopal? Search for tickets here.

__._,_.___
Messages in this topic (1) Reply (via web post) | Start a new topic
Messages
-----------------------------------------------
We need your Resume, Post it Now at http://www.vyoms.com/apply-todays-jobs.asp
-----------------------------------------------

VISIT HTTP://WWW.VYOMS.COM TWICE EVERYDAY.
WWW.VYOMS.COM IS THE MOST FREQUENTLY UPDATED FRESHERS JOBS SITE



=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Free & Useful Resources
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

<*> Interview Questions - http://www.coolinterview.com
<*> Projects & Source Codes - http://www.sourcecodesworld.com
<*> Freshers Jobs        - http://www.jobsassist.com/
<*> Free SMS           - http://www.vyomworld.com/sms/
<*> Free eBooks          - http://www.bestebooksworld.com
<*> Downloads           - http://www.vyomlinks.com
<*> Share & Discuss        - http://www.discussionsworld.com
<*> Free Student Resources - http://www.vyomworld.com
<*> Online Exams          - http://www.testsworld.com

5 GB Webspace (Windows / Linux) + Free .com Domain Name + 5,000 Templates Free + 10,000 Fonts F
= Rs. 1,250 per annum only. Start hosting now! http://www.quick2host.com

Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch format to Traditional
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe Recent Activity
 805New Members
Visit Your Group
Yahoo! Finance
It's Now Personal

Guides, news,

advice & more.

Real Food Group
Share recipes

and favorite meals

w/ Real Food lovers.

Yahoo! Groups
Beauty & Fashion
Connect & share

tips and advice.
.
__,_._,___

Top



    Move Selected To InboxDraftsSpam Bin
Inbox First | Previous | Next | Last

Sify Home | Feedback | Advertise | Terms



--------------------------------------------------------------------------------

© Copyright Sify Ltd, 1998-2004. All rights reserved. See Disclaimer,Privacy Policy.& Parental
Guidance on pornography
Site optimized for Internet Explorer 4.0 and above.

				
DOCUMENT INFO
Shared By:
Categories:
Tags:
Stats:
views:145
posted:7/10/2010
language:English
pages:12