News:

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#

class Sample
{
  public Sample(int x)
  {
  }
}
  1. public Sample() : this(1) { }

  2. public Sample() : Sample(1) {}

  3. Both of the above

  4. One class constructor can not directly access another constructor

Answer: Answer is a
Further Reading:

Useful resources, C# Constructors


  1. C# does not support the use of "*" to indicate a pointer

  2. Pointers are a type derived from System.Object

  3. Pointers can be used as out and ref type parameters

  4. Pointer references are tracked by the garbage collector.

Answer: Answer is c
Further Reading:

Useful resources, Pointer types


  1. separating an item's public interface from the actual implementation

  2. embedding content as a resource into an executable program

  3. providing a short summary description of complex operations

  4. a technique using base and derived classes

Answer: Answer is a

  1. sorted by Key

  2. sorted by Element

  3. not sorted

Answer: Answer is c
Further Reading:

Useful resources, OrderedDictionary Class


  1. class SampleClass 
    {
    } 
    class SampleClass 
    {
    }
    
  2. class SampleClass 
    {
    } 
    class SampleClass<T,U> 
    {
    }
    
  3. class SampleClass where T : class 
    { 
    } 
    class SampleClass where T : struct 
    { 
    }
    
  4. class SampleClass 
    {
    } 
    class SampleClass where T : class 
    { 
    }
    
Answer: Answer is c

  1. One method may handle events from different sources

  2. A single event can be handled by multiple methods

  3. Event handlers can be dynamically added and removed at runtime

  4. Event handlers must be members of the same class as raised the event

  5. All of the above

Answer: Answer is c
Further Reading:

Useful resources, Handling and Raising Events


  1. If a class implements an interface, the implementation can be provided by a public member of a base class

  2. A class may partially implement an interface by only declaring some of the members

  3. Interface methods may be implemented so that they are NOT directly accessible using an instance reference to the class

  4. Since interface implementation methods can not be declared private,protected, or internal, they are always accessible from any point in an application

Answer: Answer is d
Further Reading:

Useful resources, Interfaces


  1. DataContractAttribute

  2. DataMemberAttribute

  3. EnumMemberAttribute

  4. CollectionDataContractAttribute

  5. DataObjectAttribute

Answer: Answer is e
Further Reading:

Useful resources, Serialization


Advertisement

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.

;