1. What is VB.Net?
VB.Net is a language developed by Microsoft and was designed to take advantage of the .Net Framework-based classes and run-time environment.

2. What is Intermediate Language?
IL is an object oriented programming language designed to be used by compilers before static or dynamic compilation to machine code.

3. What is Common Language Runtime?
CLR is a managed execution environment that is part of .Net Framework.CLR transforms source code into a form of bytecode known as CIL(Common Intermediate Language). At run time, CLR handles the execution of the CIL code.

4. What is Common Type System?
CTS is a standard for defining and using data types in .Net Framework.

5. What is Common Language Specification?
is a fundamental set of language features supported by the CLR of the .Net Framework.

6. What is the difference between private and shared assembly?


7. What namespace does the web page belong to in the .NET Framework class hierarchy?

8. What are the differences between System.String and System.StringBuilder classes?

9. What are the differences between Structure and Class?

10. What are class access modifiers?

11. What is serialization?

12. How a base class method is hidden?

13. What is a Constructor?

14. What is Polymorphism?

15. What is an Interface?

16. What is the difference between an EXE and DLL?

17. What is the difference between MetaData and Manifest?

18. What is the top .Net class that everything is derived from?

19. How is method overriding different from method overloading?

20. What is a formatter?

21. What is static member?

22. What is Overloading?

23. What is a constructor?

24. What are namespaces available in .Net?

25. What a static class?

26. What is sealed class?

27. What are the two main parts of the .Net Framework?


28. What is the advantages of using System.Text.StringBuilder over System.String?
SystemBuilder is mutable. It is more efficient in cases where there is a large amount of string manipulation.
The string is immutable where it creates the new instances for every string operations like addition. It is huge memory occupation in the processor.

29. What is reflection?
All .Net compilers produce metadata about the types defined in the module  they produce.

30. What is an Application Domain? How they get created?
An Application Domain can be thought as a lightweight process controlled by the .Net runtime. Application domains are usually created by hosts like Windows shell, ASP.Net and IE.

31. What is the difference between Compiler and Interpreter?
- Compiler is a program that translate source code written in some high level language into object code.
- Interpreter translates high level instructions into an intermediate form which is then executes.

32. What is a class?
Class represents a group of objects, which hold similar attributes and behavior.

33. What is an object?
Object, which is simply something you can give a name, represents a physical entity.

34. What is Abstraction?
Abstraction is a process of defining communication interface for the functionality and hiding rest of the things.

35. How do you convert a string into an integer in .Net?
Int32.Parse(string) or Convert.ToInt32()

36.  Describe the compilation process of .Net code?
Source code is compiled and run in the .Net Framework using a two-stages process. First, source code is compiled to Microsoft Intermediate Language code using a .Net Framework compatible compiler. Second, MSIL code is compiled to native code.

37. What is Boxing and Unboxing?
Boxing is an implicit conversion of a value type to the reference type.
UnBoxing is an explicit conversion of a reference type to a value type.

38. How do you create threading in .Net? What is the namespace for that?
System.Threading.Thread

39. What is method overloading?
Method overloading occurs when a class contains two methods with the same name but different signatures.

40. What is the 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.

41. What is an abstract class?
Abstract class is a class which must be inherited and has the methods overridden. Abstract class is a blueprint of a class without any implementation.

42. What is the use of System.Diagnostics.Process class?
It provides the interfaces, classes, enumerations and structures that are used for tracing. it provides two classes named Trace and Debug which are used for writing errors and execution info in logs.

43. What is the difference between static or dynamic assemblies?
- Static assemblies can .Net Framework types (interfaces and classes), as well as resources for the assembly (bitmaps, JPEG files, and so on). It is stored on disk in portable executable (PE) files.
- Dynamic assemblies can run directly from memory and are not saved to disk before execution. We can save dynamic assemblies to disk after they have executed.

44. What are the differences between Class and Interface?
- class: is logical representative of object. It is the collection of data and related sun procedures with definition. Class does not support multiple inheritances.
- interface: is also a class contains method but does not have any definitions. Interface support multiple inheritances.


0 comments:

Post a Comment

Do not SPAM, please...

 
Top