Pages

Tuesday, 15 September 2015

Internet VB.Net Interview Questions and Answers

21. What is tracing?
Tracing refers to collecting information about the application while it is running. you use tracing information to troubleshoot an application.

22. What is the difference between a thread and a process?
A process is an instance of an running application. and a thread is the execution stream of the process. a process can have multiple thread.

23. What is serialization?
Serialization is the process of converting an object into a stream of bytes.
de-serialization is the opposite process of creating an object from a stream of bytes.
serialization/de-serialization is mostly used to transport objects.

24.How a base class method is hidden?
Hiding a base class method by declaring a method in derived class with keyword new. this will override the base class method and old method will be suppressed.

25. What is a constructor?
A special method always called whenever an instance of the class is created.

26. What is polymorphism?
Mean by more than one form. ability to provide different implementation based on different number / type of parameters.

27. What is an interface?
An interface has no implementation; it only has the signature or in other words, just the definition of the methods without the body.

28. What is the difference between an exe and a dll?
DLL is an in-process component whereas exe is an out-process component.exe is for single use whereas you can use dll for multiple use.
exe can be started as standalone where dll cannot be.

29. What is the gac?
Each computer where the common language runtime is installed has a machine-wide code cache called the global assembly cache. the global assembly cache stores assemblies that are to be shared by several applications on the computer. this area is typically the folder under windows or winnt in the machine.

30. How does cas work?
The cas security policy revolves around two key concepts - code groups and permissions. each .net assembly is a member of a particular code group, and each code group is granted the permissions specified in a named permission set.

More Questions & Answers:-

No comments:

Post a Comment