Dot Net Interview Questions & Answers

Showing 10 of 33 questions | Page 2

Technical interview questions and answers play a major role in Dot Net Interviews because companies want candidates who understand the .NET Framework, CLR, C#, ASP.NET, ADO.NET, and application lifecycle management. Dot Net skills are widely used in enterprise application development, making this topic important in interviews for both freshers and experienced candidates. Companies like TCS, Infosys, Wipro, Cognizant, and Capgemini frequently ask questions on .NET fundamentals, coding techniques, and real-time scenarios to assess your problem-solving and programming capabilities. This guide provides the most important Dot Net interview questions with answers to help you prepare effectively. With clear explanations and examples, these questions will help you build confidence and perform well in technical rounds and project-based discussions during placement interviews.

Showing 10 of 33 questions

11. Can you give an example of what might be best suited to place in the Application_Start and Session_Start subroutines?

This is where you can set the specific variables for the Application and Session objects.

12. Can you explain what inheritance is and an example of when you might use it?

When you want to inherit (use the functionality of) another class. Base Class Employee. A Manager class could be derived from the Employee base class.

13. What is an assembly?

Assemblies are the building blocks of the .NET framework.

14. What is the difference between inline and code behind.

1. Inline code written along side the html in a page. Code-behind is code written in a separate file and referenced by the .aspx page.

15. Whats MSIL, and why should my developers need an appreciation of it if at all?

MSIL is the Microsoft Intermediate Language. All .NET compatible languages will get converted to MSIL.

16. Can you edit data in the Repeater control?

No, it just reads the information from its data source

17. Which template must you provide, in order to display data in a Repeater control?

ItemTemplate

18. How can you provide an alternating color scheme in a Repeater control?

Use the AlternatingItemTemplate

19. What property must you set, and what method must you call in your code, in order to bind the data from some data source to the Repeater control?

You must set the DataSource property and call the DataBind method.

20. What base class do all Web Forms inherit from?

The Page class.
Questions and Answers for Competitive Exams Various Entrance Test