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 :
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.
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.
Share This :
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
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.
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.
0 comments:
Post a Comment