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.

Advertisement

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

;
  1. They can be derived from any reference type.

  2. Two anonymous types with the same named parameters in the same order declared in different classes have the same type.

  3. Anonymous types can have methods

  4. All properties of an anonymous type are read/write

Answer: Answer is b
Further Reading:

If two or more anonymous object initializers in an assembly specify a sequence of properties that are in the same order and that have the same names and types, the compiler treats the objects as instances of the same type. They share the same compiler-generated type information.Anonymous types contain one or more public read-only properties. No other kinds of class members, such as methods or events, are valid.Anonymous types are class types that derive directly from object, and that cannot be cast to any type except object. From the perspective of the common language runtime, an anonymous type is no different from any other reference type. Useful resources, Anonymous Types

comments powered by Disqus
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.

;