Friday, 29 June 2012

Interview Questions in VB.NET, .NET Framework. | Interview Questions Part II

                      Hi friends, in this article I am posting some interview Questions VB.NET and .NET Framework. In previous articles i explained interview questions in ASP.NET,VB.NET,Sql Server in Interview Questions.Check it once if you need.


1.What is VB.NET?
 Visual Basic .NET (VB.NET), is an object-oriented computer programming language .
VB.Net is windows based programming language. It supports OOP concepts such as
abstraction, inheritance, polymorphism and aggregation.
_________________________________________________________________
2.What is the base class of .NET?
System.Object
_________________________________________________________________
3.What is the difference between early binding and late binding?
Early binding - Assigning values to variables during design time or exposing object model at design time.
Late Binding - Late binding has the same effect as early binding.  The difference is that you bind the object library in code at run-time
Calling a non-virtual method, decided at a compile time is known as early binding. Calling a virtual method (Pure Polymorphism), decided at a runtime is known as late binding.
_________________________________________________________________ 
4.What’s the difference between private and shared assembly?
Assemblies are two types
1.private
2.public or shared
A Private assembly is used by a single application, and it is stored in the application's directory, or a sub directory beneath it.
A shared assembly is normally stored in Global Assembly Cache, which is a repository of assemblies maintained by .NET run time.
Private assembly is used inside an application only and does not have to be identified by a strong name.
Shared assembly can be used by multiple applications and has to have a strong name.
Private assembly is specific to the application. By adding the assembly in bin folder, we can access the assembly only in that application.
Shared assembly is shared by all applications, which are hosted in the machine. By adding the assembly to Global Assembly Cache(GAC), we can access the assembly in all applications hosted in that machine.
_________________________________________________________________ 
5.What is Commom Language Runtime?
                CLR also known as Common Language Run time provides a environment in which program is executed, it activate object, perform security check on them, lay them out in the memory, execute them and garbage collect them.
             The Common Language Runtime (CLR) is an Execution Environment . It works as a layer between Operating Systems and the applications written in .Net languages that conforms to the Common Language Specification (CLS). The main function of Common Language Runtime (CLR) is to convert the Managed Code into native code and then execute the Program. The Managed Code compiled only when it needed, that is it converts the appropriate instructions when each function is called. The Common Language Runtime (CLR) 's Just In Time (JIT) compilation converts Intermediate Language (MSIL) to native code on demand at application run time.
_________________________________________________________________ 

"If you like my blog or articles, you can appreciate by leaving your comments or Liking my Facebook pageAspdotnet-kishore, following on Google+ Aspdotnet-Kishore, Twitter  on AspdotnetKishore, Linked in Aspdotnet-Kishore, stumbling my posts on stumble upon and subscribing on  RSSfeed Aspdotnet-Kishore for free updates directly to your Email inbox . Watch my blog  for more articles."

No comments:

Post a Comment

© 2012-2014 Aspdotnet-Kishore.blogspot.com. All Rights Reserved.
The content is copyrighted to Kishore and may not be reproduced on other websites without permission from the owner.