C# Interview Questions

Free C# Video Tutorial

New features in c# 4.0

What's the difference between IEnumerable and List ?

Give an example for explicit interface implementation

Difference between EXE and DLL

Why C# does not support multiple class inheritance
What are the difference between interfaces and abstract classes
How did you use delegates in your project
C# Interview Questions on Delegates
Advantages of using Interfaces
Advantages and disadvantages of using generics
What are the advantages and disadvantages of using collection classes present in System.Collections namespace
What are the advantages and disadvantages of using arrays
C# Interview Questions on remoting
C# Interview Questions related to Interfaces

C# Interview Questions on partial classes, structs and methods
C# Interview Questions on Nested Types
Destructors related C# Interview Questions
C# Interview Questions on constructors

C# Interview Questions on Methods / Functions
C# Interview Questions on Properties
C# Interview Questions on Constants
C# Interview Questions on Fields
C# Interview Questions on Access Modifiers
Why should you override the ToString() method
C# Interview Questions on polymorphism
C# Interview Questions on Abstract and Sealed Class Members
C# Interview Questions on Inheritance
C# Interview Questions on structs
Basic C# Interview Questions on classes and structs
C# Interview Questions on Data Types
C# Interview Questions on value types and reference types
C# Interview Questions on data type casting
C# Interview questions on Boxing and Unboxing
Basic C# Interview Questions on arrays
Basic C# Interview Questions on strings
More C# interview questions on strings

19 comments:

  1. well organized. it will be great if u add
    questions about delegates,reflection,threading,ado.net

    ReplyDelete
  2. This is just a suggestion.I would appreciate if you can also categories questions based on the number of years of experience a candidate holds, i mean when somebody if 6 years old in IT, what kind of questions will he be facing. Just to fancy that. Parvez Borkar

    ReplyDelete
  3. 1)What are restrictions on static constructors?
    2)What is the meaning of string interning?
    3)What is namespace for Sorting

    ReplyDelete
  4. Difference between is and as operators in C#.Net

    ReplyDelete
  5. is Operator :- used to check whether the run-time type of an object is compatible with a given type.
    as Operator :- used for conversion between compatible types.

    ReplyDelete
  6. The questions are good. All these questios reflect framework 1.1. Many versions released like 2.0, 3.0, 3.5 and 4.0 is in beta now.

    It would be nice to all by including the different new things coming out from version to version. So the questions become complete and can ace any .net interview.

    ReplyDelete
  7. What is server side javascript?

    ReplyDelete
  8. which place we can use static class give me real life example

    ReplyDelete
  9. main difference between abstact class and interface

    ReplyDelete
  10. hi,
    can you pls give me answer for this?

    Which one of the following is a limitation resulting from a class that has an indexer property but does NOT either implement the IEnumerable interface or any of its members?
    1. The class cannot implement a GetEnumerator method.
    2. The indexer can have only one parameter.
    3. Neither the "for" nor "foreach" statements is supported.
    4. The "foreach" is not supported.
    5. The indexer must return an "object" type.

    ReplyDelete
  11. Please post interview question on events and delegates

    ReplyDelete
  12. Very very sexy questions and answers I got job after reading these qus 50 times i dont have any exp but i got a job yoohoooo

    ReplyDelete
  13. Pls write question according to years of experience like 1 ,2 3 etc.

    ReplyDelete
  14. please post screenshot primary key and foriegn key creation in sql server

    ReplyDelete
  15. Hi Just fantastic...But It would be great if you add code samples also.

    ReplyDelete
  16. what is difference between asp and asp.net

    ReplyDelete
  17. Hiiii Venkat you are doing a great job..i went through all your interview questions an videos to clear my concepts and i found it very helpful.But it would be great if you add new concepts like wpf and silverlight with MVVM pattern or provide very good easy to understand links to understand these technologies..Thanks a lot..:)

    ReplyDelete
  18. can we create the assembly with out namespace

    ReplyDelete
  19. Please correct this code:-

    SqlCommand cmd = new SqlCommand("select * from Phone where like '"+ textBox1.Text + "%'", con);
    con.Open();
    SqlDataReader rdr = cmd.ExecuteReader();
    BindingSource source = new BindingSource();

    source.DataSource = rdr;
    dataGridView1.DataSource = source;

    ReplyDelete

If you are aware of any other C# questions asked in an interview, please post them below. If you find anything missing or wrong, please feel free to correct by submitting the form below.

 
Disclaimer - Terms of use - Contact Us