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. It always references the UTC (GMT) time

  2. It always references the Local  time

  3. It contains a member indicating which time zone it refers to

  4. It contains a member indicating whether the time is UTC, Local, or Unspecified

Answer: Answer is d
Further Reading:

Useful resources, DateTime


  1. The method provided by the TimerCallback delegate will always be invoked on the thread which created the timer.

  2. The thread which creates the timer must have a message processing loop (i.e. be considered a UI thread)

  3. The class contains protection to prevent reentrancy to the method provided by the TimerCallback delegate

  4. You can receive notification of an instance being Disposed by calling an overload of the Dispose method

Answer: Answer is d
Further Reading:

Useful resources,System.Threading.Timer


string t = "This Is a Test";
t.Replace("T", "?");
Console.WriteLine(t);
  1. ?his Is a ?est

  2. ?his Is a ?es?

  3. This Is a Test

  4. ?his Is a Test

Answer: Answer is c
Further Reading:

String is immutable, it’s can’t be modified. Replace will return new string. So we will not see any changes in our variable value “t”. Useful resources, String


  1. The permissions of the code which invoked the Demand method will be evaluated.

  2. For permissions which do a stack walk, an exception will occur only if NONE of the calling codes has the required permission

  3. For permissions which do a stack walk, an exception will occur if ANY of the calling codes does not have the required permission

  4. The permission levels of individual stack frames are always checked regardless of the  permission type.

Answer: Answer is c
Further Reading:

When a stack walk is performed, Demand succeeds only if no SecurityException is raised. Useful resources, IPermission.Demand method


  1. They encapsulate native resource and must be properly Disposed to prevent potential exhausting of resources.

  2. They are all MarshalByRef derived classes, but functionality across AppDomains has specific limitations.

  3. You can inherit from these classes to provide enhanced or customized functionality

  4. They are Value Type objects.

Answer: Answer is a, b
Further Reading:

Useful resources, System.Drawing, MarshalByRefObject Class


  1. They must be inherited from the System.Attribute

  2. Attributes are instantiated at the same time as instances of the class to which they are applied.

  3. Attribute classes may be restricted to be applied only to application element types.

  4. By default, a given attribute may be applied multiple times to the same application element.

Answer: Answer is a, d
Further Reading:

All attribute types derive directly or indirectly from the Attribute class. Attributes can be applied to any target element; multiple attributes can be applied to the same target element; and attributes can be inherited by an element derived from a target element. Use the AttributeTargets class to specify the target element to which the attribute is applied. Useful resources, Attribute Class , Attribute


  1. Use the DataRowCollection.Remove method to immediately delete  the row.

  2. use the DataRowCollection.Remove method to mark the row for deletion when DataRow.AcceptChanges is called.

  3. use the DataRow.Delete method to immediately delete  the row

  4. use the DataRow.Delete method to mark the row for deletion when DataRowAcceptChanges is called.

Answer: Answer is a, d
Further Reading:

Useful resources, DataRow , DataRowCollection, DataRow.Delete Method


  1. Restricted to a Specific Application

  2. Restricted to a Specific AppDomain

  3. Restricted to a Specific User

  4. Restricted to a specific Physical Media

Answer: Answer is d
Further Reading:

Useful resources, System.IO.IsolatedStorage, Isolated Storage


  1. System.Reflection.PropertyInfo

  2. System.Reflection.EventInfo

  3. System.Type

  4. System.Reflection.InstanceInfo

Answer: Answer is a, b, c

StringBuilder sb = new StringBuilder(10);
sb.AppendFormat("1234567890123");
Console.WriteLine(sb.Capacity);
  1. 10

  2. 20

  3. Some value equal to or larger than 13

  4. Int32.MaxValue

Answer: Answer is b
Further Reading:

Number in parameter denotes the capacity. The capacity parameter defines the maximum number of characters that can be stored in the memory allocated by the current instance. If the number of characters to be stored in the current instance exceeds capacity value, the StringBuilder object allocates additional memory to store them. Useful resources, StringBuilder Class, StringBuilder Constructor


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.

;