• +91 9723535972
  • info@interviewmaterial.com

DotNet Interview Questions and Answers

DotNet Interview Questions and Answers

Question - 81 : - Difference between Class And Interface

Answer - 81 : - Class is logical representation of object. It is collection of data and related sub procedures with defination. Interface is also a class containg methods which is not having any definations. Class does not support multiple inheritance. But interface can support.

Question - 82 : - What is assembly?

Answer - 82 : - It is a single deployable unit that contains all the information abt the implimentation of classes , stuctures and interfaces

Question - 83 : -   How is the DLL Hell problem solved in .NET?

Answer - 83 : - Assembly versioning allows the application to specify not only the library it needs to run (which was available under Win32), but also the version of the assembly.

Question - 84 : - What are the ways to deploy an assembly?

Answer - 84 : -   An MSI installer, a CAB archive, and XCOPY command. 

Question - 85 : -    What is a satellite assembly?

Answer - 85 : -   When you write a multilingual or multi-cultural application in .NET, and want to distribute the core application separately from the localized modules, the localized assemblies that modify the core application are called satellite assemblies.

Question - 86 : - What namespaces are necessary to create a localized application?

Answer - 86 : -   System.Globalization and System.Resources.

Question - 87 : -   What is the smallest unit of execution in .NET?

Answer - 87 : - an Assembly.

Question - 88 : -   When should you call the garbage collector in .NET?

Answer - 88 : -   As a good rule, you should not call the garbage collector.  However, you could call the garbage collector when you are done using a large object (or set of objects) to force the garbage collector to dispose of those very large objects from memory.  However, this is usually not a good practice.

Question - 89 : -   How do you convert a value-type to a reference-type?

Answer - 89 : - Use Boxing.

Question - 90 : -   When was .NET announced?

Answer - 90 : -   Bill Gates delivered a keynote at Forum 2000, held June 22, 2000, outlining the .NET 'vision'. The July 2000 PDC had a number of sessions on .NET technology, and delegates were given CDs containing a pre-release version of the .NET framework/SDK and Visual Studio.NET.  


NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners