SQL Table To C# Entity Model ConverterEntity Model (Class Properties) to SQL Table ConverterIf you encounter any trouble visiting our site, please contact us.

Online Test DotNet 2.0 using C#

  1. System.DateTime

  2. System.TimeSpan

  3. System.Globalization.Calendar

  4. System.Globalization.CultureInfo

Answer: Answer is c
Further Reading:

A calendar divides time into units, such as weeks, months, and years. The number, length, and start of the divisions vary in each calendar. Useful resources, Calendar class

  1. A Nullable type is a reference type.

  2. An implicit conversion exists from any non-nullable value type to a nullable form of that type.

  3. A predefined conversion from the nullable type S? to the nullable type T? exists if there is a predefined conversion from the non-nullable type S to the non-nullable type T

Answer: Answer is b, c
Further Reading:

Useful resources, Nullable Types

  1. int

  2. double

  3. long

  4. float

Answer: Answer is a, d
Further Reading:

Reads and writes of the following data types are atomic: bool, char, byte, sbyte, short, ushort, uint, int, float, and reference types. In addition, reads and writes of enum types with an underlying type in the previous list are also atomic. Reads and writes of other types, including long, ulong, double, and decimal, as well as user-defined types, are not guaranteed to be atomic. Useful resources, Atomicity of variable references

  1. They must handle case-sensitivity identically in both the GetHashCode() and Equals() methods.

  2. Key objects must be immutable for the duration they are used within a HashTable.

  3. Get HashCode() must be overridden to provide the same result, given the same parameters, regardless of reference equality unless the HashTable constructor is provided with an IEqualityComparer parameter.

  4. Each Element in a HashTable is stored as a Key/Value pair of the type System.Collections.DictionaryElement

  5. All of the above

Answer: Answer is e
Further Reading:

Useful resources, Hashtable

  1. void Sample1(object o)
      int i = (int)o;
  2. void Sample1(ValueType vt) 
      int i = (int)vt; 
  3. enum E { Hello, World} void Sample1(System.Enum et) 
      E e = (E) et; 
  4. class C {
      public int Value { get; set; }
    void Sample1(C vt)
      int i = vt.Value;
Answer: Answer is d
Further Reading:

Boxing is the process of converting a value type to the type object or to any interface type implemented by this value type. Unboxing extracts the value type from the object. Boxing is implicit; unboxing is explicit. In (d), it’s not followed the rules of unboxing. So, it’s not unboxing conversion. Useful resources, Boxing and Unboxing

  1. C# allows non-type templateparameters.

  2. C# supports explicit specialization.

  3. C# allows the type parameter to be used as the base class for generic type.

  4. C# allows a generic type parameter itself to be a generic.

  5. C# enforces that all codes are valid for all types of parameters

Answer: Answer is e
Further Reading:

Useful resources,C# Generics

  1. Access is limited to the containing class plus any classes derived from the containing class

  2. Access is limited to the current assembly

  3. Access is limited to the containing class plus any classes derived from the containing class that are also in the current assembly

  4. Access is limited to the containing class plus any classes derived from the containing class or any other class in  the current assembly

Answer: Answer is d
Further Reading:

The type or member can be accessed by any code in the assembly in which it is declared, or from within a derived class in another assembly. Protected internal accessibility level means protected OR internal, not protected AND internal. In other words, a protected internal member can be accessed from any class in the same assembly, including derived classes. Useful resources, C# Access Modifiers, Access Modifiers

  1. Assignment (=)

  2. Conditional (&&,||)

  3. Logical (&,|,^)

  4. Shift (<<, >>)

Answer: Answer is c, d
Further Reading:

Useful resources, Operator Overloading, Overloadable Operator

  1. Classes

  2. Structs

  3. Methods

  4. Events

  5. Fields

Answer: Answer is a, b, c, d
Further Reading:

Useful resources, C# Generics

  1. Objects must be set to null in order to be eligible for garbage collection

  2. Unless specific steps are taken, an object may be moved in memory

  3. Objects become eligible for garbage collection as soon as it is impossible for any code to access them

  4. Objects which implement finalizers will always have the finalizer called at some point

Answer: Answer is c, d
Further Reading:

Useful resources, Garbage Collection


BCS Preparation now even more easy. ReadBD is the place where you can find all kind of resources to be successful in BCS,Bank,Islami Bank exam and interview.

Looking for job. Try JobLoader- First ever job search engine in Bangladesh. All open bd jobs now a single mouse click away.