Tuesday, 15 September 2015

VB.Net Interview Questions and Answers

11. What is an assembly?
Assembly are the basic buiding blocks of the .net framework.they are the logical grouping of the functionality in a physical file.

12. What are the advantages of an assembly?
Increased performance. better code management and encapsulation. it also introduces the n-tier concepts and business logic.

13. What is code access security?
CAS - code access security is the part of the .net security model that determines whether or not a piece of code is allowed to run, and what resources it can use when it is running.

14. What are the difference between structure and class?
structures are value type and classes are reference type
structures can not have constructors or destructors.
classes can have both constructors and destructors.
structures do not support inheritance, while classes support inheritance.

15. What is the differences between dataset.clone and dataset.copy?
Dataset.clone copies just the structure of dataset (including all the datatables, schemas, relations and constraints.); however it doesn’t copy the data.
dataset.copy, copies both the dataset structure and the data.

16. What is the use of internal keyword?
Internal keyword is one of the access specifier available in .net framework , that makes a type visible in a given assembly , for e.g : a single dll can contain multiple modules.

17. What is the difference between the debug class and trace class?
Use debug class for debug builds, use trace class for both debug and release builds.

18. What are class access modifiers?
Access modifiers are keywords used to specify the declared accessibility of a member or a type. this section introduces the four access modifiers :
§  public
§  protected
§  internal
§  protected inertnal
§  private

19. What is portable executable?
The file format used for executable programs and for files to be linked together to form executable programs.

20. What is the difference between system.string and system.stringbuilder classes?
System.string is immutable, system.stringbuilder was designed with the purpose of having a mutable string where a variety of operations can be performed.

More Questions & Answers:-

No comments:

Post a Comment