ASP.Net Interview Question and Answers

166. How do you hide the columns?
  One way to have columns appear dynamically is to create them at design time, and then to hide or show them as needed. You can do this by setting a column’s “Visible” property.
 
Your Name Your Email-ID
Your Answer
167. What are the difference between const and readonly?
 
  • A const can not be static, while readonly can be static.
  • A const need to be declared and initialized at declaration only, while a readonly can be initialized at declaration or by the code in the constructor.
  • A const’s value is evaluated at design time, while a readonly’s value is evaluated at runtime.
 
Your Name Your Email-ID
Your Answer
168. What is the difference between early binding and late binding?
  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.
 
Your Name Your Email-ID
Your Answer
169. What is Common Language Runtime?
  CLR also known as Common Language Run time provides a environment in which program are executed, it activate object, perform security check on them, lay them out in the memory, execute them and garbage collect them.
 
Your Name Your Email-ID
Your Answer
170. What is Intermediate Language?
  MSIL are also known as Microsoft Intermediate Language is the CPU-independent instruction set into which .Net framework programs are compiled. It contains instructions for loading, storing initializing, and calling methods on objects.
 
Your Name Your Email-ID
Your Answer