.NET Interview Questions and Answers

Posted by: Suprotim Agarwal , on 8/12/2007, in Category Interview Questions
Views: 1416779
Abstract: .NET Interview Questions and Answers for Beginners consists of the most frequently asked questions in .NET. This list of 100+ questions and answers gauge your familiarity with the .NET platform.

Why .NET Framework?

.NET Framework is the most powerful development platform for building a variety of solutions on Windows. For example, using the .NET Framework, you can create applications for Windows Desktop, Web applications, Windows Phone applications, Windows Store applications, Windows Server, Windows Azure (cloud) as well as Bot frameworks and cognitive services.

Before exploring the .NET Framework, we first have to understand the issues/pain areas which developers have faced in other technologies -

  • Programming with Win32 API - Earlier we were using Win32 API and C language. This paradigm does not offer Object Oriented Features as C is a structured language. There is no better way of memory management either as it is done manually. Using Pointers is a big pain area for developers.
  • Programming with VC++ - Many of us use C++ and MFS as a programming language which offers the features of Object Oriented Features. However C++ is built on top of C language and hence the development can still cumbersome for many novice programmers who are dealing with memory management and pointers.
  • Programming with Visual Basic 6.0 - Way back in 1998, VB 6.0 as a development language had made development efforts easier. For example designing complex UI, Data Centric applications and much more. But VB 6.0 is not an object oriented language and is outdated now. When designing Multi-threaded application, we still have to go back to Win32 APIs.
  • Programming with COM - Component Object Model is a specification which is used for developing reusable components which can be called across the languages like VC++, Delphi. But with COM we also get "DLL Hell". DLL Hell is the issue of maintaining multiple versions of a component for multiple applications.

Under .NET Framework, many of these problems have been addressed and resolved.

Microsoft .NET Framework provides a huge no. of benefits compared with the legacy languages -

  • No more COM Specifications in .NET. So, we automatically get away from DLL Hell.
  • Microsoft .NET supports language integration.
  • Microsoft .NET Base Class Library offers a wrapper over many raw API calls which can be used in various .NET Languages.
  • You can call COM components in .NET and .NET Components in COM using interoperability.
  • A Common Runtime Engine shared by all the .NET Languages. 
    A single framework to develop Windows/Web applications.
  • We have no. of languages which make developers to adapt the .NET Framework for application development..net interview question for framework

What is BCL?

The Base Class Library is a Common Language Infrastructure. BCL encapsulates a large number of common functionalities which are available to all the .NET Languages. BCL makes the developers life much simpler while implementing various  functionalities like I/O operations, Data access operations, graphical user interfaces and interfaces to various hardware devices by encapsulating them into various namespaces and classes. It also encapsulates the services which are required by the latest real world applications. .NET Framework applications, components and the controls are built on BCL.

There are a number of namespaces and types available under various class libraries in .NET framework which can be found here https://msdn.microsoft.com/en-us/library/gg145045(v=VS.110).aspx

Explain CLR, CTS, CLS under .NET Framework?

Common Language Runtime is one of the main building blocks of Microsoft .NET Framework which is responsible for performing various operations under .NET Framework.
 dotnet-compilation


When you design the application using Microsoft .NET languages like C#.NET or VB.NET, the language has its own complier which compiles the code into common format that is CIL [Common Intermediate Language]. Then CIL gets targeted to CLR which in turn performs many operations. It converts CIL into Native code with the help of JIT.

CLR also performs various other operations like Memory Management, Application Execution, Thread Management, Security checks, load the required assemblies and their types. The code which is managed by CLR is also known as Managed Code. All the managed languages are handled by a single runtime that is CLR.

Common Type System (CTS) defines how the types are defined and used in the Common Language Runtime. CTS provides cross-language integration, type safety, and high-performance code execution. The Common Type System for language integration works as follows -

dotnet-fw-cts
 
When you define an integer variable in VB.NET and declare integer in C#.NET, both the languages share the same type which is Int32, available under .NET Framework.

CTS defines rules which must be followed by languages in order to make objects written in one language callable in other languages.

Microsoft .NET Framework provides various primitive data types which can be used while developing applications using various languages.

Common Language Specification (CLS) is a set of rules. CLS rules also define a subset of CTS. By defining components using CLS features only, developers are guaranteed to make use of these components in all the other languages which are CLS compliant languages. Most of the types which are defined under .NET framework are CLS complaint.

What are the different versions of .NET Framework?

Following are the different versions of the Microsoft .NET Framework -

dotnet-framework-versions

There are two more versions of .NET Framework released after v4.5. .NET Framework 4.6 was released in July 2015 and came with support for a new just-in-time compiler (JIT) for 64-bit systems called RyuJIT. .NET Framework 4.6.1 was announced in November 2015.

What is an application server?

As defined in Wikipedia, an application server is a software engine that delivers applications to client computers or devices. The application server runs your server code. Some well known application servers are IIS (Microsoft), WebLogic Server (BEA), JBoss (Red Hat), WebSphere (IBM).

Compare C# and VB.NET

A detailed comparison can be found over here.

What is a base class and derived class?

A class is a template for creating an object. The class from which other classes derive fundamental functionality is called a base class. For e.g. If Class Y derives from Class X, then Class X is a base class.

The class which derives functionality from a base class is called a derived class. If Class Y derives from Class X, then Class Y is a derived class.

What is an extender class?

An extender class allows you to extend the functionality of an existing control. It is used in Windows forms applications to add properties to controls.

A demonstration of extender classes can be found over here.

What is inheritance?

Inheritance represents the relationship between two classes where one type derives functionality from a second type and then extends it by adding new methods, properties, events, fields and constants.

C# support two types of inheritance:

· Implementation inheritance

· Interface inheritance

What is implementation and interface inheritance?

When a class (type) is derived from another class(type) such that it inherits all the members of the base type it is Implementation Inheritance.

When a type (class or a struct) inherits only the signatures of the functions from another type it is Interface Inheritance.

In general Classes can be derived from another class, hence support Implementation inheritance. At the same time Classes can also be derived from one or more interfaces. Hence they support Interface inheritance.

Source: Exforsys.

What is inheritance hierarchy?

The class which derives functionality from a base class is called a derived class. A derived class can also act as a base class for another class. Thus it is possible to create a tree-like structure that illustrates the relationship between all related classes. This structure is known as the inheritance hierarchy.

How do you prevent a class from being inherited?

In VB.NET you use the NotInheritable modifier to prevent programmers from using the class as a base class. In C#, use the sealed keyword.

When should you use inheritance?

Read this.

Explain Different Types of Constructors in C#?

There are four different types of constructors you can write in a class -

1. Default Constructor

2. Parameterized Constructor

3. Copy Constructor

4. Static Constructor

Read more about it at https://www.dotnetcurry.com/csharp/1193/csharp-constructor-types-interview-question

Define Overriding?

Overriding is a concept where a method in a derived class uses the same name, return type, and arguments as a method in its base class. In other words, if the derived class contains its own implementation of the method rather than using the method in the base class, the process is called overriding.

Can you use multiple inheritance in .NET?

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

Why don’t we have multiple inheritance in .NET?

There are several reasons for this. In simple words, the efforts are more, benefits are less. Different languages have different implementation requirements of multiple inheritance. So in order to implement multiple inheritance, we need to study the implementation aspects of all the languages that are CLR compliant and then implement a common methodology of implementing it. This is too much of efforts. Moreover multiple interface inheritance very much covers the benefits that multiple inheritance has.

What is an Interface?

An interface is a standard or contract that contains only the signatures of methods or events. The implementation is done in the class that inherits from this interface. Interfaces are primarily used to set a common standard or contract.

When should you use abstract class vs interface or What is the difference between an abstract class and interface?

I would suggest you to read this. There is a good comparison given over here.

What are events and delegates?

An event is a message sent by a control to notify the occurrence of an action. However it is not known which object receives the event. For this reason, .NET provides a special type called Delegate which acts as an intermediary between the sender object and receiver object.

What is business logic?

It is the functionality which handles the exchange of information between database and a user interface.

What is a component?

Component is a group of logically related classes and methods. A component is a class that implements the IComponent interface or uses a class that implements IComponent interface.

What is a control?

A control is a component that provides user-interface (UI) capabilities.

What are the differences between a control and a component?

The differences can be studied overhere.

What are design patterns?

Design patterns are common solutions to common design problems.

What is a connection pool?

A connection pool is a ‘collection of connections’ which are shared between the clients requesting one. Once the connection is closed, it returns back to the pool. This allows the connections to be reused.

What is a flat file?

A flat file is the name given to text, which can be read or written only sequentially.

What are functional and non-functional requirements?

Functional requirements defines the behavior of a system whereas non-functional requirements specify how the system should behave; in other words they specify the quality requirements and judge the behavior of a system.

E.g.

Functional - Display a chart which shows the maximum number of products sold in a region.

Non-functional – The data presented in the chart must be updated every 5 minutes.

What is an Assembly? Explain different types of Assemblies?

An assembly is a final deployable unit which can versioned and secured. The assembly can also be termed as a reusable collection of types and resources which work together as a logical unit of functionalities in .NET. .NET assemblies can be designed as executable (.EXE) or reusable component (.DLL). An assembly contains one or more managed types which can be made accessible to the unit or outside the unit.

Assembly gets divided into four different parts.
•    Manifest.
•    Type Metadata.
•    Intermediate Language.
•    Resources.

Manifest - contains information about the assembly like Version of an assembly, the public key in case the assembly is shared assembly and the culture information. It also contains the security demands to verify this assembly. CLR uses the manifest to load the assembly.

Type Metadata - gives the complete information about the types which are available in the assembly like Class, Structure, Interface, Enum, and the methods, their parameters. The compilers automatically generate this metadata. You can make use of this Type Metadata to dynamically load the types using .NET Reflection.

Intermediate Language - It a code generated by the language specific compiler. It is also known as Machine independent code which can be compiled on one machine and can be deployed on another. CLR targets this code to JIT to convert it into processor depend on code which can be further executed.

Resources - Assembly can also contain the embedded resources like icons, images, string tables media clips.

You can see this information using a .NET framework utility called ILDASM.EXE

Microsoft .NET support different types of assemblies.

•    Private Assembly - Private Assemblies are the assemblies which are only known to the application to which it has been referenced. By default, the assemblies are always private when you create and reference them. The private assembly gets stored in the application folder which is using the assembly.

Private assemblies are identified with the help of name of an assembly and version of an assembly. But the versions does not really come into the picture as the referenced assembly is in the same folder of your application.

•    Shared/Global/Public Assembly - Global/Public Assemblies are the assemblies which are shared across multiple applications. These assemblies are installed into Global Assembly Cache which acts as a shared area for all the assemblies.

Global Assembly is identified with the four-part assembly name - Name of an Assembly, Version of an assembly, and Culture of an Assembly and Public Key Token of an assembly. Global Assembly Cache can contain different versions of an assembly.

You can install a public/global assembly into Global Assembly Cache [GAC] using GACUTIL.EXE tool.

•    Satellite Assembly - Satellite Assemblies are used to build multi-lingual assemblies for applications. Satellite assemblies contain information about the cultures. Satellite assemblies are used to display the data in multiple languages according to Country/Region.

What is the global assembly cache (GAC)?

GAC is a machine-wide cache of assemblies that allows .NET applications to share libraries. GAC solves some of the problems associated with dll’s (DLL Hell).

What is a stack? What is a heap? Give the differences between the two?

Stack is a place in the memory where value types are stored. Heap is a place in the memory where the reference types are stored.

Check this link for the differences.

What is instrumentation?

It is the ability to monitor an application so that information about the application’s progress, performance and status can be captured and reported.

What is code review?

The process of  examining the source code generally through a peer, to verify it against best practices.

What is logging?

Logging is the process of persisting information about the status of an application.

What are mock-ups?

Mock-ups are a set of designs in the form of screens, diagrams, snapshots etc., that helps verify the design and acquire feedback about the application’s requirements and use cases, at an early stage of the design process.

What is a Form?

A form is a representation of any window displayed in your application. Form can be used to create standard, borderless, floating, modal windows.

What is a multiple-document interface(MDI)?

A user interface container that enables a user to work with more than one document at a time. E.g. Microsoft Excel.

What is a single-document interface (SDI) ?

A user interface that is created to manage graphical user interfaces and controls into single windows. E.g. Microsoft Word

What is BLOB ?

A BLOB (binary large object) is a large item such as an image or an exe  represented in binary form.

What is ClickOnce?

ClickOnce is a new deployment technology that allows you to create and publish self-updating applications that can be installed and run with minimal user interaction.

What is object role modeling (ORM) ?

It is a logical model for designing and querying database models. There are various ORM tools in the market like CaseTalk, Microsoft Visio for Enterprise Architects, Infagon etc.

What is a private assembly?

A private assembly is local to the installation directory of an application and is used only by that application.

What is a shared assembly?

A shared assembly is kept in the global assembly cache (GAC) and can be used by one or more applications on a machine.

What is the difference between user and custom controls?

User controls are easier to create whereas custom controls require extra effort.

User controls are used when the layout is static whereas custom controls are used in dynamic layouts.

A user control cannot be added to the toolbox whereas a custom control can be.

A separate copy of a user control is required in every application that uses it whereas since custom controls are stored in the GAC, only a single copy can be used by all applications.

Where do custom controls reside?

In the global assembly cache (GAC).

What is a third-party control ?

A third-party control is one that is not created by the owners of a project. They are usually used to save time and resources and reuse the functionality developed by others (third-party).

What is a binary formatter?

Binary formatter is used to serialize and deserialize an object in binary format.

What is Boxing/Unboxing?

Boxing is used to convert value types to object.

E.g. int x = 1;

object obj = x ;

Unboxing is used to convert the object back to the value type.

E.g. int y = (int)obj;

Boxing/unboxing is quiet an expensive operation.

What is a COM Callable Wrapper (CCW)?

CCW is a wrapper created by the common language runtime(CLR) that enables COM components to access .NET objects.

What is a Runtime Callable Wrapper (RCW)?

RCW is a wrapper created by the common language runtime(CLR) to enable .NET components to call COM components.

What is a digital signature?

A digital signature is an electronic signature used to verify/gurantee the identity of the individual who is sending the message.

What is garbage collection and explain its different generations?

Garbage collector is a part of Common Language Runtime, which does automatic memory management for your application. When you create an object in your application, CLR allocates the memory for that object on Managed Heap.

Garbage collector gives number of benefits like -

Automatic Memory Management - You can build your application without thinking about how to free the memory as Garbage Collector gets called automatically by CLR.

Garbage Collector does proficient memory management for your objects.

Garbage Collector does automatic reclaim of the memory for those objects which are not in use and which are marked for deletion.

Garbage collector allocates the memory for objects in such a way that one object will not be able to use other object data accidently.

garbage collection
 
The Managed Heap is a memory area where a series of managed objects are stored and managed. As shown in the above diagram, the managed heap gets divided into three different sections which are known as Generations.

Generation 0 - This is the first generation under managed heap which is used to store and manage short-lived objects. All small size objects usually get allocated on Generation 0. When garbage collector reclaims the memory, it always reclaims the memory from generation 0 by default. The objects which are survived in Generation 0 will be pushed towards the generation 1.

Generation 1 - This generation again contain the short-lived objects and the objects which are survived from Generation 0. The objects which are survived in Generation 1 will be pushed towards the generation 2.

Generation 2 - This generation contains the long lived objects which are survived from multiple generations and are used till the process is running.

Garbage Collector first looks for the free memory in generation 0 which can be used to allocate the memory for the new object. The objects are always created in contagious memory. If the garbage collector finds sufficient memory for the new object, it does not search for the dead object and hence memory allocation process is always faster. But in case, sufficient memory is not available; then garbage collector reclaims the memory of the objects which are dead or not getting used for a long time.

When Garbage collector gets executed, it first of all, finds all the live objects. After this garbage collector updates the addresses of objects which will be compacted. Then it reclaims the memory of all the dead objects. Once the memory is reclaimed, it moves the lived objects to the next Generation. For example, the objects which live through in Generation 0 will be moved towards Generation 1. The objects which survived in generation 1 will be moved towards Generation 2. The objects which survived in Generation 2 will stay in Generation 2 only.

What is Application Domain and how does it work?

Windows Operating Systems load a set of resources like .EXE, DLLs and allocate the memory for those resources in an area called as Process. Windows OS creates a separate and isolated area for each running application. Making separate isolation area for each application, makes the process more secure and stable. In case, one process fails, it does not affect the other process.

.NET applications, however, are not hosted like traditional applications by Windows Operating System. Under .NET, .EXEs are hosted under a process by logical partitioning which is known as "Application Domain". Now you can host multiple application domains under one single process.

application domain
 
Application Domains consume less memory and power for processing the applications compared to the traditional processes for each application. In case one application domain fails, the other application domain will work as-is without any effects. You can also stop one application domain without affecting another application domain or without stopping an entire process.

One Application Domain cannot share/access the data from other Application Domain which is running within the same Domain or other Domain.

What is globalization?

Globalization is the process of customizing applications that support multiple cultures and regions.

What is localization?

Localization is the process of customizing applications that support a given culture and regions.

What is MIME?

The definition of MIME or Multipurpose Internet Mail Extensions as stated in MSDN is “MIME is a standard that can be used to include content of various types in a single message. MIME extends the Simple Mail Transfer Protocol (SMTP) format of mail messages to include multiple content, both textual and non-textual. Parts of the message may be images, audio, or text in different character sets. The MIME standard derives from RFCs such as 2821 and 2822”. Quoted from here.

I hope you liked these questions and I thank you for viewing them. I thank Pravin Dabade for contributing some of the .NET Interview question and answers.

This article has been editorially reviewed by Suprotim Agarwal.

Absolutely Awesome Book on C# and .NET

C# and .NET have been around for a very long time, but their constant growth means there’s always more to learn.

We at DotNetCurry are very excited to announce The Absolutely Awesome Book on C# and .NET. This is a 500 pages concise technical eBook available in PDF, ePub (iPad), and Mobi (Kindle).

Organized around concepts, this Book aims to provide a concise, yet solid foundation in C# and .NET, covering C# 6.0, C# 7.0 and .NET Core, with chapters on the latest .NET Core 3.0, .NET Standard and C# 8.0 (final release) too. Use these concepts to deepen your existing knowledge of C# and .NET, to have a solid grasp of the latest in C# and .NET OR to crack your next .NET Interview.

Click here to Explore the Table of Contents or Download Sample Chapters!

What Others Are Reading!
Was this article worth reading? Share it with fellow developers too. Thanks!
Share on LinkedIn
Share on Google+

Author
Suprotim Agarwal, MCSD, MCAD, MCDBA, MCSE, is the founder of DotNetCurry, DNC Magazine for Developers, SQLServerCurry and DevCurry. He has also authored a couple of books 51 Recipes using jQuery with ASP.NET Controls and The Absolutely Awesome jQuery CookBook.

Suprotim has received the prestigious Microsoft MVP award for Sixteen consecutive years. In a professional capacity, he is the CEO of A2Z Knowledge Visuals Pvt Ltd, a digital group that offers Digital Marketing and Branding services to businesses, both in a start-up and enterprise environment.

Get in touch with him on Twitter @suprotimagarwal or at LinkedIn



Page copy protected against web site content infringement 	by Copyscape




Feedback - Leave us some adulation, criticism and everything in between!
Comment posted by Gurjinder Singh Brar on Tuesday, August 21, 2007 11:37 AM
Good faqs!!

You can find more .Net framework faqs at

<a href="http://www.dotnetinterviewfaqs.com/microsoft-dot-net-framework-faqs-job-interview-questions-answers.aspx">Microsoft.Net Framework Faqs</a>

Comment posted by VK on Friday, August 24, 2007 4:42 AM
Good collection! See more at http://www.dotnetuncle.com
Comment posted by amal on Monday, September 3, 2007 1:50 AM
Educative collection
Comment posted by rohit on Tuesday, September 11, 2007 4:48 AM
please update and give updated version
Comment posted by imtiyaz khan on Friday, September 28, 2007 6:22 PM
this web side is help asp.net programmer or student for more and more knowledge
Comment posted by Robert on Wednesday, December 5, 2007 2:00 AM
For More Interview Questions.. Visit
http://oopsconcepts.com/interviewquestions
Comment posted by jayaraja on Saturday, February 23, 2008 2:02 PM
more interview questions general to asp.net,sql server ,general resume coverrage can be found at
http://forum.jayaraja.com
Comment posted by Mahendiran.M on Thursday, February 28, 2008 1:52 AM
It's very nice to read and clear the doubts
Can u send articles and codes to my Mail...
Thankz in advance
Comment posted by Rekha on Sunday, March 30, 2008 3:19 AM
I am clear of my doubts. Thanks for ur informations.
Comment posted by k.kiran kumar on Friday, May 9, 2008 12:24 AM
it's very nice.i want more information in .net.plz send to my mail.
Comment posted by ashish_d14 on Friday, June 27, 2008 12:29 PM
it is a fantastic informative article for students like me.
plz send me such articles by mail .
Comment posted by Raj on Saturday, July 5, 2008 11:44 PM
Simply super
Comment posted by Santosh Dengale on Monday, July 28, 2008 12:41 AM
Absolutely, In shortly and in a proper wording......!, i have gained more knowagle from this....
Comment posted by Hanna on Tuesday, September 30, 2008 3:55 AM
Hi,
I wana say its a really helping article keep it up and post more stuff like this I have found some question I also want to share with other <a herf="www.interviewmadeeasy.info/aspnet">Asp.net FAQs</a>

Thanks
Hanna
Comment posted by SANDEEP SINGH on Tuesday, October 21, 2008 5:35 AM
NICE BOOK
Comment posted by Satya on Wednesday, November 12, 2008 8:04 AM
It's helpful for freshers.Simply superb
Comment posted by Jai on Wednesday, December 24, 2008 3:12 PM
Hi

Nice collection...to know some thing new...visit

www.interviewsworld.com

Thanks
Comment posted by ravindra on Wednesday, March 18, 2009 12:24 AM
Hi,
I wana say its a really helping article keep it up and post more stuff like this I have found some question I also want to share with other and very important articls  <a herf="www.interviewmadeeasy.info/aspnet">Asp.net FAQs</a
Thanks for this information
Comment posted by manish ratawa on Tuesday, June 9, 2009 2:27 AM
i like this site thanks 4 its
Comment posted by vaibhav jadhav on Saturday, July 4, 2009 5:30 AM
Hi,
    very good notes.
                                   Thanks to all,
                                    Vaibhav.
Comment posted by santosh kuamr on Friday, September 11, 2009 1:38 PM
Hi Suprotim Agarwal,
Good collection , thanks for providing.

http://www.operativesystems.com
thanks
Comment posted by Annun kumar verma on Tuesday, September 15, 2009 2:11 AM
hai
Comment posted by xyz on Wednesday, February 17, 2010 8:14 PM
good one
Comment posted by surekha on Thursday, February 25, 2010 6:57 AM
Good collection
Comment posted by Vijaya on Thursday, July 15, 2010 1:41 PM
Very good collection
Comment posted by Usha on Friday, July 30, 2010 1:20 AM
nice
Comment posted by Denverite on Sunday, October 3, 2010 7:45 PM
great job. it is pretty informative and very helpful for beginners too.
Comment posted by Sushma on Thursday, March 10, 2011 4:29 PM
Define Overriding?
Overriding is a concept where a method in a derived class uses the same name, return type, and arguments as a method in its base class. In other words, if the derived class contains its own implementation of the method rather than using the method in the base class, the process is called overriding.

This is not overriding this is overloading please change this
Comment posted by Mrinalini on Monday, April 11, 2011 2:36 AM
Hi sushma,
That isnt overloading it is overriding.
Comment posted by jatin on Tuesday, May 10, 2011 1:17 AM
this is good set of questions, you can check this also

http://dotnetpeoples.blogspot.com/2011/05/general-net-interview-questions.html
Comment posted by shilpa on Monday, July 11, 2011 7:40 AM
really very interesting article ...
Very Helpful to all freshers
Really Superb And thanks to the team
Comment posted by Interview Questions on Thursday, August 4, 2011 6:45 AM
Now a days .NET jobs have heavy competition. All job seekers are want to prepare well. Where we get better questions and answers. Your site given most important information on .NET. I have t follow your blog. Thanks a lot giving this blog.

<a href="http://www.interviewquestions.co.in">Interview Questions</a>
Comment posted by R.Somasundaram on Monday, August 15, 2011 9:01 AM
This website is a goog and large Information Gathering your self . If u want any information plz find this website www.somamca.hpage.in
Comment posted by Durga Wankhede on Sunday, August 21, 2011 12:36 PM
VVVVVVVV good yaar
Comment posted by manraj singh on Tuesday, September 20, 2011 1:04 AM
good collection. plz send more .net interview questions/answers to my mail
Comment posted by jaya on Wednesday, September 21, 2011 12:37 AM
very nice details
  by
     jaya    
Comment posted by Vaibhav on Friday, November 11, 2011 1:55 AM
Good Compilation at a very basic level. Get some more detailed understanding and advanced concepts refined from MSDN at http://dotnetforinterview.blogspot.com/
Comment posted by Mahesh on Monday, November 28, 2011 5:16 AM
Really very useful for me.
Comment posted by Anuj on Friday, December 2, 2011 12:54 AM
very helpfull qquestion for .net interview.please send more question on my mail..
Comment posted by jitendra garg on Monday, February 6, 2012 4:54 AM
What is business logic?
It is the functionality which handles the exchange of information between database and a user interface.

Really? Isn't this definition like saying "Sun is something that rises from east"? This is just a possible usage/property of business logic, not the definition. Being a consulting architect, I would have expected much more insightful article from you.  Add to that, this is the type of definition, interviewers rely on, to select next generation of leaders in IT. Future of IT looks scary.
Comment posted by Rajkumar on Tuesday, March 27, 2012 9:28 AM
superb
Comment posted by Ajay on Thursday, April 19, 2012 9:13 AM
There is one wrong example for the question "What is a single-document interface (SDI)?". Microsoft word is not a SDI application but it is MDI just like Microsoft Excel. Right(good) example for SDI application is Notepad (notepad.exe)
Comment posted by Vinayak on Monday, April 30, 2012 11:43 PM
Thx to author and all above commenter links for references....
Comment posted by kvnkishore on Friday, May 4, 2012 11:20 AM
this is good set of questions.vb.net,c#.net and .net interview questions send me sir.sql,database questions
Comment posted by ggffh on Saturday, May 5, 2012 7:40 AM
gfhfh
Comment posted by D on Saturday, May 12, 2012 8:34 AM
Very nice blog..........1 more blog which will be helpful for preparing to give Interviews http://subhashnetworld.blogspot.in/
Comment posted by kalidoss on Tuesday, July 10, 2012 1:16 AM
its really very good job.... simply it was great...
Comment posted by Rajat on Tuesday, July 10, 2012 1:37 PM
nice and good collection.....
Comment posted by Somi Choudhary on Thursday, July 12, 2012 5:24 AM
Gud collection....nd very nice blog
Comment posted by salik on Tuesday, July 24, 2012 3:00 PM
add some more questions on oops
Comment posted by vnv on Wednesday, July 25, 2012 5:16 AM
Sub Uppercase()
   ' Loop to cycle through each cell in the specified range.
   For Each x In Range("A1:A5")
      ' Change the text in the range to uppercase letters.
      x.Value = UCase(x.value)
   Next
End Sub
Comment posted by Vijaya on Wednesday, August 8, 2012 7:50 PM
Very Nice Article. It gives confidence to attend the interview. Thankyou very much.
Comment posted by Jaid on Friday, August 10, 2012 3:56 PM
ur .net collection is too good for fresher and technical student..............
Comment posted by Jaid on Friday, August 10, 2012 3:57 PM
ur .net collection is too good for fresher and technical student..............
Comment posted by Ankit Dwivedi on Monday, September 10, 2012 11:37 AM
Now i have clear my all doubt. this really help me a lot.
Comment posted by suresh on Friday, September 14, 2012 6:54 AM
it is usefull for experienced jobs.........?
Comment posted by xxxxxxxxxxxxxxxx on Wednesday, September 19, 2012 11:03 AM
i like this[8class]
Comment posted by Thirupathi on Thursday, September 20, 2012 3:17 AM

very useful infirmation is provided for the .net beginners....
Comment posted by gnani on Monday, October 1, 2012 4:06 AM
its very useful, thank you sir, can u send interview tips and questions&answers(.net) for 2+exp candidates. plz
Comment posted by shraddha srivastava on Tuesday, October 2, 2012 3:09 AM
it is very help full collection for all students thanks for it.
Comment posted by ii on Friday, October 5, 2012 2:58 AM
fhbghgffffffffhgffffffffffffffffffffffffffffffffff
Comment posted by Kumudha on Tuesday, October 9, 2012 10:26 AM
it is very useful,thank you sir.
Comment posted by ashok on Monday, October 22, 2012 4:50 AM
very nic collaction thank .............for you
Comment posted by Guy on Thursday, October 25, 2012 4:36 AM
Lots of errors mate... ORM - object relationship mapping and its not what you described.. (people usually mean in the context of ORM tools like Entity Framework). Delegates are variables that are 'pointers' to other functions and while they play a role in events can also have nothing to do with them.
Design Pattern = Common solutions for common design problems? stating the obvious doesn't explain what it is.
It goes on and on...
Comment posted by arun on Tuesday, November 6, 2012 12:19 PM
It is an Excellent stuff
Comment posted by arun on Friday, November 9, 2012 12:28 AM
good questiones
Comment posted by Sravani on Sunday, November 18, 2012 11:54 PM
Good stuff to prepare for an interview....
Comment posted by srilakshmi on Friday, November 23, 2012 12:52 PM
thank u so much this is very useful for me and all
Comment posted by Zaid Ahmad on Thursday, November 29, 2012 1:29 AM
really nice effort, I sink many good concepts from here.
Comment posted by satya on Tuesday, December 18, 2012 11:35 PM
Excellent Questions and answer ..... Very Thanks to You sir....
Comment posted by Waqar Ali khan Mehmoti on Sunday, January 13, 2013 4:08 AM
Excellent Questions and answer ..... Very Thanks to You sir....
Comment posted by Waqar Ali khan Mehmoti on Sunday, January 13, 2013 4:08 AM
Excellent Questions and answer ..... Very Thanks to You sir....
Comment posted by skoop on Wednesday, January 16, 2013 2:19 PM
I didn't look at all the questions, but that is not really a good answer for why multiple inheritance doesn't exist for .NET languages.  The fact that .NET has multiple languages and the effort to implement would be too complicated is not really the issue, as MI isn't in Java either.  The main reason is probably more so that multiple inheritance is very error prone and can create hard to detect problems (i.e. the Diamond Problem)
Comment posted by Shripad Joshi on Tuesday, February 5, 2013 8:36 AM
I didn't face interview bt now Im confident to face any interview. Thank U very much!
Comment posted by Shripad Joshi on Tuesday, February 5, 2013 8:49 AM
I didn't face interview but now I am confident to face any interview. Thank U very much!
Comment posted by Jack on Tuesday, February 12, 2013 12:19 PM
More questions here for you,
http://interviewstudymaterial.blogspot.com/
Comment posted by Srinivas on Tuesday, March 5, 2013 1:01 AM
How to develop a WCF application in 3-tier?
Comment posted by prakash on Tuesday, March 26, 2013 2:14 AM
This site is educationally useful for students nd for freshers to attend interviews... Update new versions .net questions thank u.
Comment posted by prakash on Tuesday, March 26, 2013 2:14 AM
This site is educationally useful for students nd for freshers to attend interviews... Update new versions .net questions thank u.
Comment posted by prakash on Tuesday, March 26, 2013 2:14 AM
This site is educationally useful for students nd for freshers to attend interviews... Update new versions .net questions thank u.
Comment posted by prakash on Tuesday, March 26, 2013 2:14 AM
This site is educationally useful for students nd for freshers to attend interviews... Update new versions .net questions thank u.
Comment posted by vhowh on Sunday, April 28, 2013 1:18 PM
ksvoenvouvboe
Comment posted by sn on Tuesday, May 14, 2013 6:02 PM
thank you.....i wanted to refresh the basics and it helped reading through this article
Comment posted by uday kumar on Wednesday, May 15, 2013 10:56 PM
thank u vry much..u helpd me a lotttt.
Comment posted by zeniya222 on Saturday, June 1, 2013 1:53 PM

Convert VB to C# with VBConversions,the most accurate code translation tool available.more information then visit: www.vbconversions.com

<a href="http://www.vbconversions.com">vb.net to c#</a>
Comment posted by steffy on Monday, June 10, 2013 1:02 AM
thank tou vry much
Comment posted by imran on Sunday, July 14, 2013 8:10 PM
Thanks sir this information is very use full for freashr students
Comment posted by imran on Sunday, July 14, 2013 8:16 PM
Thanks sir this information is very use full for freashr students
Comment posted by imran on Sunday, July 14, 2013 8:20 PM
Thanks sir this information is very use full for freashr students
Comment posted by venkat on Monday, July 15, 2013 3:05 AM
if it is useful for freshers then wt abt experianced?
Comment posted by MAHENDRA VERMA on Tuesday, July 30, 2013 10:19 AM
Thank's for collect in doubts Question and please Suggests in DBMS Query  
Comment posted by Manjunath S on Monday, August 5, 2013 7:51 AM
nice collection.................
Comment posted by SANJU on Saturday, August 10, 2013 10:27 AM
Thank u sir this information.
Comment posted by kailash bisht on Thursday, August 29, 2013 8:21 AM
Thanks sir this information is very use full for freashr students ........

frm-kailash
Comment posted by jerry on Wednesday, September 11, 2013 2:03 AM
Find here http://net-informations.com/faq/net/interview-questions.htm .net interview questions and answers.

jerry
Comment posted by exact on Thursday, September 12, 2013 10:53 AM
not elaborated the answers.......but good questions
Comment posted by exact on Thursday, September 12, 2013 10:54 AM
not elaborated the answers.......but good questions
Comment posted by Rabi narayan das on Monday, September 30, 2013 12:13 AM
thanks for this ans
Comment posted by Rabi narayan das on Monday, September 30, 2013 12:15 AM
thanks for this ans
Comment posted by Rabi narayan das on Monday, September 30, 2013 12:45 AM
thanks for this ans
Comment posted by Rabi narayan das on Monday, September 30, 2013 12:59 AM
thanks for this ans
Comment posted by Rabi narayan das on Monday, September 30, 2013 12:59 AM
thanks for this ans
Comment posted by sohaib on Saturday, October 12, 2013 4:37 PM
Visit the following link to learn some commonly asked Interview Questions for the job or vacancy of Software Engineer or Software/Web/Desktop Application Developer. It also includes OOP, C#, ASP.NET, ADO.NET and SQL Interview Questions. http://sohaiby.blogspot.com/2013/09/software-engineerdeveloper-interview.html
Comment posted by Anjnesh sharma on Thursday, October 24, 2013 6:09 AM
this is the best site to improve your interviewer's question for asp.net
thanks
Comment posted by (Will not be displaye on Saturday, November 9, 2013 1:25 AM
Will not be displayed)
Comment posted by fd on Tuesday, November 12, 2013 3:43 AM
dddd
Comment posted by fd on Tuesday, November 12, 2013 3:43 AM
dddd
Comment posted by fd on Tuesday, November 12, 2013 3:43 AM
dddd
Comment posted by sashi on Friday, January 3, 2014 4:54 AM
thank u sir
.net for beg..
is good & i like to now more interview qus on .net sir
Comment posted by Roberto on Wednesday, March 12, 2014 1:19 AM
"Can you use multiple inheritance in .NET?

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

I don't agree with this, an interface is a contract for a class and does not inherit anything other than the contract it must comply with. You can't do multiple inheritance in .NET. The closest to doing so would be having deeper level inheritance (A>B>C..)
Comment posted by chitra on Tuesday, July 8, 2014 2:48 AM
Thanks to Sharing the Dot
Net Material for Freshers and Experiences,
Link as, <a http://pankajtiwarii.blogspot.in/2013/11/aspnet-interview-question-and-answer.html
Comment posted by somesh on Friday, July 11, 2014 1:17 AM
Thanks for sharing
Some good questions are can also be found at http://jobs.bhoomijunction.com/blogs/frequently-asked-interview-questions-net--25
Comment posted by ' on Thursday, July 31, 2014 3:45 AM
    '
Comment posted by MUTHU JUNA on Thursday, August 14, 2014 12:58 AM
thnk u sir

      <a hrefs="http://www.besanttech.com/best-dot-net-training-institute-in-chennai.html">Dot Net Training institutes in Chennai</a>
Comment posted by MUTHU JUNA on Thursday, August 14, 2014 1:00 AM
thnk u sir

      <a hrefs="http://www.besanttech.com/best-dot-net-training-institute-in-chennai.html">Dot Net Training institutes in Chennai</a>
Comment posted by MUTHU JUNA on Thursday, August 14, 2014 3:52 AM
tnk u sir


<a hrefs="http://www.besanttech.com/best-dot-net-training-institute-in-chennai.html">Dot Net Training institutes in Chennai</a>
Comment posted by johnson on Saturday, December 27, 2014 6:27 AM
Your posts is really helpful for me. Thanks for your wonderful post.It is really very helpful for us and I have gathered some important information from this blog.If anyone wants to get Dot Net Training in Chennai reach FITA IT training and placement academy. http://www.dotnettrainingchennai.net/


Comment posted by Jon on Sunday, April 12, 2015 4:33 PM
I liked the questions another website i found another useful site that has an online test http://dotnetinterviewhelp.com/