General purpose, type safe, object oriented, platform neutral programming language. Works best with the windows .Net framework and is the most up to d...
15
What does the 2.0 version of C# include and when was it released?
The 2.0 version of C# includes such new features as generics, partial classes, and iterators and was released in late 2005.
15
What is the .NET Framework?
a software framework developed by Microsoft that runs primarily on Microsoft Windows. It includes a large library and provides language interoperabili...
15
What is the CLR?
Common Language Runtime: the virtual machine component of Microsoft's .NET framework and is responsible for managing the execution of .NET programs. I...
15
Does C# support multiple-inheritance?
No. C# limits classes to single-inheritance, meaning each classes inherits from a single parent class. This is done to prevent ambiguity. Interfaces a...
15
What is JIT (just in time compiling)?
a method to improve the runtime performance of computer programs. JIT compilers represent a hybrid approach, translation occurring continuously, as wi...
15
What is the goal of JIT?
to reach or surpass the performance of static compilation, while maintaining the advantages of bytecode interpretation: Much of the "heavy lifting" of...
15
What is static compilation?
a compiled version of a program which has been statically linked against libraries; no dynamic linking occurs: all the bindings have been done at comp...
15
What are the two advantages of dynamic compilation?
1) Often-used libraries (for example the standard system libraries) need to be stored in only one location, not duplicated in every single binary.2) I...
15
What are the 5 visibility levels (access modifiers)?
1) public: available to anyone anywhere2) protected: can be accessed by the class itself and by any class derived from that class, an not any other cl...
15
Are private class-level variables inherited?
Yes, but they are not accessible. Although they are not visible or accessible via the class interface, they are inherited.
15
What does the term immutable mean?
The data value MAY NOT be changed. Note: The variable value may be changed, but the original immutable data value was discarded and a new data value w...
15
What is the difference between System.String and System.Text.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 perform...
15
Whats the advantage of using System.Text.StringBuilder over System.String?
StringBuilder is more efficient in cases where there is a large amount of string manipulation. Strings are immutable so each time a string is changed,...
15
What is the difference between a shallow copy and a deep copy?
A shallow copy means that the contents (each array item) contains references to the same object as the elements in the original array. A deep copy wou...
15
What is the .NET collection class that allows an element to be accessed using a unique key?