i want the csharp questions&answeres



i want the csharp questions&answeres..

Answer / Mohd Sarfaraz

Here are some C# questions and answers:n
1. What is the purpose of a constructor in C#?nAnswer: A constructor is a special method that gets called automatically when an object is created in C#.n
2. What is a namespace in C#?nAnswer: A namespace in C# is used to organize classes, interfaces, enumerations, structures, and namespaces into logical groups.n
3. How do you declare a variable in C#?nAnswer: To declare a variable in C#, use the data type followed by the variable name.n

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

Why is main static in c#?

1 Answers  


Explain how to use an extender provider in the project.

1 Answers  


What is Interface? Explain with an example.

8 Answers   TCS,


Can multiple catch blocks be executed?

4 Answers   Visual Soft,


What is addressof operator?

1 Answers  


List down the differences between public, static and void keywords?

1 Answers  


Can you instantiate an abstract class c#?

1 Answers  


If multiple interfaces are inherited and they have conflicting method names; What will happen ?

1 Answers   Siebel,


What does out mean c#?

1 Answers  


What is byte c#?

1 Answers  


How big is an int in c#?

1 Answers  


Is datetime value type c#?

1 Answers  


Categories