C_ .Net Interview Questions

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

    Inbox                  Compose                  Addresses                 Help

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 <>
 domainkeys has verified the mail as legitimate
 To: ,
 Subject: [ ] 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!

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][];

2. Name some of the Microsoft Application Blocks. Have you used any? Which ones?

3. What is the difference between shadow and override

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?

5. Which debugging window allows you to see the methods called in the order they were called?

6. Which debugging window allows you to see all the name and values of all the variables in scope?

7. What is wrapper class?is it available in c#?

8. What is protected internal class in C#

9. Which keyword is used of specify a class that cannot inherit by other class

10. Can u create the instance for abstract classes

11. Can we use Friend Classes or functions in C# the way we use it in C++
12. How we can use inheritance and polymorphisms in c# programming?

13. How to find exceptions in database

14. How can objects be late bound in .NET?

15. Where we can use DLL made in C#.Net

16. What Datatypes does the RangeValidator Control support?

17. Constructor is the method which is implicitly created when ever a class is instantiated. Why?

18. Why multiple Inheritance is not possible in C#?

19. Why strings are immutable?

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

21. How to convert ocx into DLL

22. What is the main difference between pointer and delegate with examples?
23. What is object pooling

24. How do i read the information from web.config file?

25. What is the default Function arguments?

26. What is XML Schema?

28. How can i check whether a dataset is empty or not in

29. Is it possible to inherit a class that has only private constructor?

30. How do you choose 1 entry point when C# project has more Main( ) method?

31. The compiler throws an error if XML comments is not well formed

32. Which of the following is not a C# reserved keyword

33. By declaring a base class function as virtual we allow the function to be overridden in

34. Which of the following can not be declared as virtual

35. Sealed class can be inherited

36. Which of the following statements is not true for interfaces

37. It is not permitted to declare modifier on the members in an interface definition

38. Interface members can not be declared as

39. Which method is implicitly called when an object is created

40. Which of the following statement is invalid with regards to constructor

41. Constructors can not be static

42. It is perfectly legitimate to throw exceptions from catch and finally blocks

43. It is not possible for a delegate to wrap more than 1 methos

44. In C# events are actually a special form of delegates

45. Which preprocessor directive are used to mark that contain block of code is to be treated as a
single block

46. How are the attributes specified in C#
47. For performing repeated modification on string which class is preferred

48. In order to use stringbuilder in our class we need to refer

49. Which of the following is not a member of stringbuilder

50. Which method is actually called ultimately when Console.WriteLine( ) is invoked

51. What happens when you create an arraylist as ArrayList Arr=new ArrayList()

52. What is the output of Vectors.RemoveAt(1)

53. GetEnumerator( ) of Ienumerable interface returns

54. How do you add objects to hashtable

55. If A.equals(B) is true then A.getHashcode & B.getHashCode must always return same hash code

56. The assembly class is defined in

57. What is the first step to do anything with assembly
58. How do you load assembly to running process

59. Assemblies cannot be loaded side by side

60. Application Isolation is assured using

61. Where does the version dependencies recorded

62. How do you refer parent classes in C#

63. Which attribute you generally find on top of main method

64. How do you make a class not instantiable

65. In a multilevel hierarchy how are the constructors are called

66. Which utility is used to create resource file

67. What is the extension of a resource file

68. A shared assembly must have a strong name to uniquely identify the assembly

69. Public policy applies to
70. Stream object can not be initialized

71. Which of the following has stream as the base class

72. Which class use to Read/Write data to memory

73. To Configure .Net for JIT activation what do you do

74. Which method is used by COM+ to ascertain whether class can be pooled

75. How do you import Activex component in to .NET

76. Net Remoting doesn’t allow creating stateless & stateful Remote objects

77. Windows services created by C# app run only

78. The C# keyword int maps to which .NET type

80. What is an indexer in C#

81. In the following cases which is not function overloading
82. How to implement multiple inheritence in C#

83. In C# a technique used to stream the data is known as

84. Can static methods be overridable?

85. What is the use of fixed statement

86. What is the order of destructors called in a polymorphism hierarchy

87. How can you sort the elements of the array in descending order

88. Is it possible to Override Private Virtual methods

89. What does the volatile modifier do

90. What is the C# equivalent of System.Single

91. A single line comments are implemented by

92. Code running under the control of CLR is often referred as

93. Platform specific code is obtained when
94. Intermediate Language also facilitates language interoperability

95. Which are the important features of IL

96. NET interfaces are not derived from IUnknown & they do not have associated GUID’s

97. Code written in C# can not used in which of the languages

99. It is not possible to debug the classes written in other .Net languages in a C# project.

101. Which of the following is not a subclass of Value Type class

103. Which of the following is not a subclass of reference type

105. Which is .NET s answer to Memory Management

New Interview

Flying to Bangalore or Bhopal? Search for tickets here.

Messages in this topic (1) Reply (via web post) | Start a new topic
We need your Resume, Post it Now at


Free & Useful Resources

<*> Interview Questions -
<*> Projects & Source Codes -
<*> Freshers Jobs        -
<*> Free SMS           -
<*> Free eBooks          -
<*> Downloads           -
<*> Share & Discuss        -
<*> Free Student Resources -
<*> Online Exams          -

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!

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.


    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.

Shared By: