Top 100 Microsoft Dot Net Interview Questions with Answers

1. What is C-Sharp (C#)?

C# is a type-safe, managed and object oriented language, which is compiled by .Net framework for generating intermediate language (IL).

2. Explain the types of comments in C#?

Below are the types of comments in C# –
-->Single Line Comment Eg : //
-->Multiline Comments Eg: /* */
-->XML Comments Eg : ///

3. List out the differences between Array and ArrayList in C#?

Array stores the values or elements of same data type but arraylist stores values of different datatypes.
Arrays will use the fixed length but arraylist does not uses fixed length like array.

4. Why to use “using” in C#?

“Using” statement calls – “dispose” method internally, whenever any exception occurred in any method call and in “Using” statement objects are read only and cannot be reassignable or modifiable.

5. What is ASP.Net?

It is a framework developed by Microsoft on which we can develop new generation web sites using web forms(aspx), MVC, HTML, Javascript, CSS etc. Its successor of Microsoft Active Server Pages(ASP). Currently there is ASP.NET 4.0, which is used to develop web sites. There are various page extensions provided by Microsoft that are being used for web site development. Eg: aspx, asmx, ascx, ashx, cs, vb, html, XML etc.

6. What’s the use of Response.Output.Write()?

We can write formatted output using Response.Output.Write().

7. What is caching?

Caching is a technique used to increase performance by keeping frequently accessed data or files in memory. The request for a cached file/data will be accessed from cache instead of actual location of that file.

8. What is MVC?

MVC is a pattern which is used to split the application’s implementation logic into three components: models, views, and controllers.

9. Can you explain Model, Controller and View in MVC?

Model – It’s a business entity and it is used to represent the application data.
Controller – Request sent by the user always scatters through controller and it’s responsibility is to redirect to the specific view using View() method.
View – It’s the presentation layer of MVC.

10. Explain the new features added in version 4 of MVC (MVC4)?

Following are features added newly –
-->Mobile templates.
-->Added ASP.NET Web API template for creating REST based services.
-->Asynchronous controller task support.
-->Bundling the java scripts.
-->Segregating the configs for MVC routing, Web API, Bundle etc.

Click here for TOP 100 Microsoft Dot Net Interview Questions & Answers

Dot Net Useful Resources

Latest Updated Microsoft Dot Net Course Content - Free PDF Link

Latest Updated ASP.NET MVC Course Content - Free PDF Link

Comments

  1. Join DevOps Course in Chennai at Credo Systemz with special offers..!

    Experienced industrial consultants handling the DevOps training in Credo Systemz with real time projects and case studies. Each and every session is handled in lively and professional manner which helps you to be a professional DevOps Developer.

    Contact us for DevOps training in Chennai with Placements

    Call us +91 9884412301 / 9600112302

    Ranks 1st in Google for:

    devops training in chennai | devops training in chennai with placement | devops training in chennai omr | devops training in velachery | devops training in chennai tambaram | devops institutes in chennai | devops certification in chennai | trending technologies list 2018

    ReplyDelete

Post a Comment

Popular posts from this blog

Top25 ASP.NET Interview Questions - FAQ | Crack the Interview Easily

Top 5 Features of Entity Framework Version 7 Every Dot Net Developers Should Know