FeedBack Form

Your Name :
Your Email :
Your Location :
Your Message :
   
FeedBack

VB.NET INTERVIEW QUESTION & ANSWERS

36. What is the difference between managed and unmanaged code?
 
  • Managed code is the code that is executed directly by the CLR instead of the operating system.
  • Unmanaged code is the code that is executed directly by the operating system outside the CLR environment.
Your Name Your Email-ID
Your Answer
 
37. What is the use of JIT compiler?
  JIT compiler is a part of the runtime execution environment.
Your Name Your Email-ID
Your Answer
 
38. What are different types of JIT?
 
  • Pre-JIT: Pre-JIT compiles complete source code into native code in a single compilation cycle. This is done at the time of deployment of the application.
  • Econo-JIT:. Econo-JIT compiles only those methods that are called at runtime.However, these compiled methods are removed when they are not required.
  • Normal-JIT: Normal-JIT compiles only those methods that are called at runtime. These methods are compiled the first time they are called, and then they are stored in cache. When the same methods are called again, the compiled code from cache is used for execution.
Your Name Your Email-ID
Your Answer
 
39. What is the role of the JIT compiler in .NET Framework?
 
  • The JIT compiler is an important element of CLR, which loads MSIL on target machine for execution.
  • The MSIL is stored in .NET assemblies after the developer has compiled the code written in any .NET-compliant programming language, such as Visual Basic and C#.
  • JIT compiler translates the MSIL code of an assembly and uses the CPU architecture of the target machine to execute a .NET application.
Your Name Your Email-ID
Your Answer
 
40. What is the difference between convert.to.string and .to.string() method?
  Convert function handles nulls while i.string() does not it will throw a null reference exception error.
Your Name Your Email-ID
Your Answer