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#

  1. The connection to the database must remain valid for the life of the data objects

  2. All tables in a dataset must come from the same database.

  3. A given instance of a DataTable can be in only one DataSet

  4. Changes made to multiple tables within a DataSet can easily be extracted to a new DataSet which contains only the changes

  5. Content from multiple DataSets can easily be combined into a single DataSet that contains the net result of all changes.

Answer: Answer is d, e
Further Reading:

Useful resources,Dataset,   Datatable, multiple database table in singe dataset.


  1. Enums are always equated to an integral constant value

  2. A variable of the enum type will always contain one of the declared symbolic constants

  3. The declared values of an enum are always assigned  sequential starting with 0

  4. The declared values of an enum must be mapped (explicitly or implicitly) to unique integral values

Answer: Answer is a
Further Reading:

By default each element in the enum is int. You can specify another integral numeric type by using a colon. Useful resources, Enumeration type, enum


  1. It is impossible to add a reference to both assemblies to any given assembly

  2. A new root can be added to the assemblies namespace hierarchy by the use of an extern alias

  3. The specific colliding name may be altered by using an extern alias

  4. The collision may be avoided by using a statement to provide an alias

Answer: Answer is c
Further Reading:

Useful resources, extern alias


  1. Static constructors are called before the main program is executed

  2. Static constructors are called before the first instance of a class is created

  3. Static constructors are called before any static (non-constructor) members are called

  4. Static constructors can take parameters

Answer: Answer is b, c
Further Reading:

Useful resources, Static Constructors


  1. A single assembly may contain multiple namespaces

  2. The same namespace may be used in multiple assemblies

  3. Namespaces may be aliased to provide a shorthand notation for a fully qualified identifier

  4. All of the above

Answer: Answer is d
Further Reading:

Useful resources, Assemblies and Namespaces, namespace, Assembly


  1. A delegate requires an instance method be supplied.

  2. A delegate instance may encapsulate only one method

  3. Delegates are not typesafe

  4. A delegate instance does not know or care about the class type of the encapsulated method

Answer: Answer is b
Further Reading:

Useful resources, delegate


  1. They must have the same name

  2. They must have the same parameter signature

  3. They must have the same access level

  4. None of the above

Answer: Answer is a
Further Reading:

Useful resources, method overloading


  1. ObjRef

  2. MarshalByRefObject

  3. ObjectHandle

  4. RemotingServices

Answer: Answer is a
Further Reading:

ObjRef stores all relevant information required to generate a proxy in order to communicate with a remote object.Useful resources, ObjRef Class


  1. Anonymous methods have access to the local state of the containing function member.

  2. An anonymous method requires an explicit method signature

  3. An anonymous method can impact the lifetime of local variables and parameters of the containing function

  4. A struct may not declare an anonymous method which directly references member fields

Answer: Answer is a, c
Further Reading:

Useful resources, Anonymous Methods


  1. Call the Type.MakeGenericType() method on an instance of System.Type which represents the Generic, specifying the types of the generic parameters.

  2. Call the static Type.MakeGenericType(...) method specifying both the base type and the types of the generic parameters.

  3. Call the GetType() method on an instance of the specialization

  4. Call Reflection.Emit()

  5. Call the Type.GetGenericTypeDefinition() method

Answer: Answer is c
Further Reading:

Useful resources, Examine and Instantiate Generic Types with Reflection


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.

;