Category: C# Programming

Tricky and conceptual C# programming interview questions and answers with explanation asked in coding / technical interviews interviews. For freshers and experienced professionals both .

Interface-Abstract class – C# Programming Interview Questions

This section contains real OOP C# programming interview questions and answers on C# interfaces and abstract class asked in C# technical interviews to IT professionals. Answers to questions are provide with example and explanation. Also, these technical job interview questions and answers will boost the concept on C# Interface and Abstract class programming. Topic –…

Read the full article

Constructor and Destructor – C# Programming Questions – Real

This section contains technical C# programming interview questions on constructor and destructor with answers and explanation asked in technical interviews for freshers and experienced. Topic – Constructor and Destructor, Static Constructor in C#, Private constructors etc. Q- What is output of the following program? When we create 2 objects of the class A e.g. A…

Read the full article

Functions – C# Programming Interview Questions – Real

Only Real C# programming interview questions with answers for freshers and experienced asked in Technical interviews. Q – Does below code compile? If not, what is the issue?   Answer: There is a compiler error, as in method Y(out int val),val is being read(at line: Console.WriteLine(“Value:”+val);) before assignment to “out” variable i.e. val =10. we…

Read the full article

Polymorphism – C# Programming interview Questions

C# programming interview questions and answers on polymorphism with explanation asked in technical job interview for freshers and experienced. Topic –  Polymorphism – Method Overloading, Method Overriding and Operator Overloading, virtual. Q – If we call the below statements in main (), what is the wings’ colour of Parrot? Give reason. Bird b = new…

Read the full article

Exception, Try, Catch – C# Programming Questions

C# tricky and conceptual programming questions and answers with explanation asked in technical interviews. Topic – Exception handling, Try, Catch and Throw. Q- What is return value of the function foo()?   Answer: The foo() function will return 5. Explanation: The constrol always comes in finally block, executes statements inside it and returns from it.…

Read the full article