VB.Net Interview Question and Answers

71. What is difference between inline and code behind?
  Inline code written along side the html in a page. Code-behind is code written in a separate file and referenced by the .aspx page.
 
Your Name Your Email-ID
Your Answer
72. What is an abstract class?
  An abstract class is a class that must be inherited and have the methods overridden. An abstract class is essentially a blueprint for a class without any implementation.
 
Your Name Your Email-ID
Your Answer
73. What is the difference between datagrid and gridview?
  Datagrid is used in windows application and gridview is used in web and in datagrid we cannot write the code for datagrid properties where as for grid view we can write the code like template column item template etc this will not be done in datagrid.
 
Your Name Your Email-ID
Your Answer
74. What is the use of System.Diagnostics.Process class?
  The System.Diagnostics namespace provides the interfaces, classes, enumerations and structures that are used for tracing.
The System.Diagnostics namespace provides two classes named Trace and Debug that are used for writing errors and application execution information in logs.
 
Your Name Your Email-ID
Your Answer
75. What is the difference between static or dynamic assemblies?
  Assemblies can be static or dynamic.
Static assemblies :
can include .NET Framework types (interfaces and classes), as well as resources for the assembly (bitmaps, JPEG files, resource files, and so on).Staticassemblies are stored on disk in portable executable (PE) files.
Dynamic assemblies :
which are run directly from memory and are not saved to disk before execution. You can save dynamic assemblies to disk after they have executed.
 
Your Name Your Email-ID
Your Answer