Latest Qualification Jobs

Check Your Email To Activate the Confirmation Link


.NET Interview Questions And Answers For Freshers/Experienced PDF Online

.NET Interview Questions And Answers

Candidates if you are going to attend the Interview related to .NET profile then you must to know the .NET Interview Questions and Answers for better preparation. Here on this page we are providing the mostly asked .NET Interview Questions and Answers for both Freshers/Experienced. You can also download the questions in PDF file through online mode.

.NET Questions And Answers

Q1- Can you use multiple inheritance in .NET?

Ans- .NET supports only single inheritance. However the purpose is accomplished using multiple interfaces.

Q2- What is the basic difference between ASP and ASP.NET?

Ans- The basic difference between ASP and ASP.NET is that ASP is interpreted; whereas, ASP.NET is compiled. This implies that since ASP uses VBScript; therefore, when an ASP page is executed, it is interpreted. On the other hand, ASP.NET uses .NET languages, such as C# and VB.NET, which are compiled to Microsoft Intermediate Language (MSIL).

ASP .NET Developer Interview Questions

Q3- How can we identify that the Page is Post Back?

Ans- Page object has an “IsPostBack” property, which can be checked to know that is the page posted back.

Q4- Which method does you uses to enforce garbage collection in .NET?

Ans- The System.GC.Collect() method

Q5- What is the difference between int and int32.

Ans- There is no difference between int and int32. System.Int32 is a .NET Class and int is an alias name for System.Int32.

Interview Preparation Tips

Q6- Which ASP.NET objects encapsulate the state of the client and the browser?

Ans-The Session object encapsulates the state of the client and browser.

Q7- How to manage pagination in a page using .NET?

Ans- Using pagination option in DataGrid control is available in .NET. We have to set the number of records for a page, and then it takes care of pagination by itself automatically.

Q8- How many languages .NET is supporting now?

Ans- When .NET was introduced it came with several languages. VB.NET, C#, COBOL and Perl, etc. .net Supports More than 44 languages.

Interview Questions and Answers

Q9- What is an IL?

Ans- Intermediate Language is also known as MSIL (Microsoft Intermediate Language) or CIL (Common Intermediate Language). All .NET source code is compiled to IL. IL is then converted to machine code at the point where the software is installed, or at run-time by a Just-In-Time (JIT) compiler.

Q10- What is code access security (CAS)?

Ans- Code access security (CAS) is part of the .NET security model that prevents unauthorized access of resources and operations, and restricts the code to perform particular tasks.

Common Interview Mistakes

Q11- What is Difference between NameSpace and Assembly?

Ans- Assembly is physical grouping of logical units, Namespace, logically groups classes.

Namespace can span multiple assembly.

Q12- What is Microsoft Intermediate Language (MSIL)?

Ans- The .NET Framework is shipped with compilers of all .NET programming languages to develop programs. There are separate compilers for the Visual Basic, C#, and Visual C++ programming languages in .NET Framework. Each .NET compiler produces an intermediate code after compiling the source code. The intermediate code is common for all languages and is understandable only to .NET environment. This intermediate code is known as MSIL.

Phone Interview Tips

Q13- What is the full form of ADO?

Ans- The full form of ADO is ActiveX Data Object.

Q14-What are the two fundamental objects in ADO.NET?

Ans- DataReader and DataSet are the two fundamental objects in ADO.NET.

Q15- What is the meaning of object pooling?

Ans- Object pooling is a concept of storing a pool (group) of objects in memory that can be reused later as needed. Whenever, a new object is required to create, an object from the pool can be allocated for this request; thereby, minimizing the object creation. A pool can also refer to a group of connections and threads. Pooling, therefore, helps in minimizing the use of system resources, improves system scalability, and performance.

Q16- Mention the namespace that is used to include .NET Data Provider for SQL server in .NET code.

Ans- The System.Data.SqlClient namespace

How To Dress For An Interview

Q17- Which architecture does Datasets follow?

Ans- Datasets follow the disconnected data architecture.

Q18- What is the role of the DataSet object in ADO.NET?

Ans- One of the major component of ADO.NET is the DataSet object, which always remains disconnected from the database and reduces the load on the database.

Q19- Which property is used to check whether a DataReader is closed or opened?

Ans- The IsClosed property is used to check whether a DataReader is closed or opened. This property returns a true value if a Data Reader is closed, otherwise a false value is returned.

Why Should We Hire You?

Q20- What are the pre-requisites for connection pooling?

Ans- There must be multiple processes to share the same connection describing the same parameters and security settings. The connection string must be identical.

Something That You Should Put An Eye On

How to Write a Good ResumePersonality Improvement Tips
Develop Good Communication SkillsGroup Discussion: Dos and Don’ts
Interview Preparation for Getting a JobWhat Makes You Angry The Most
What Are Your Strength and WeaknessBuild Strong & Good Vocabulary Fast

Filed in: Interview

20, 00,000+ Top Jobs For Freshers, Salary 1.75 Lakh– Apply Now


Leave a Reply

Submit Comment