VB.Net Interview Question 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.
 
Your Name Your Email-ID
Your Answer
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.
 
Your Name Your Email-ID
Your Answer
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.
 
lakshmideepak, said June 18,2014
Code security which relabels the exucution process on by using constructers with different signature.
Joy Sengupta, said Jun 13,2014
Structures can have parameterized constructors.
Your Name Your Email-ID
Your Answer
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.
 
Your Name Your Email-ID
Your Answer
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.
 
Your Name Your Email-ID
Your Answer