C# Question

  • November 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View C# Question as PDF for free.

More details

  • Words: 548
  • Pages: 8
C#Question

http://www.dotnetspider.com/exams/Mcsd -mcse-mcp-4155.aspx c# static constructors supports Select Answer: 1. access modifiers 2. static variables 3. instance variables 4. pass parameters list 5. overloading 2

Does C# support multiple-inheritance? Select Answer: 1. No 2. Yes 3. Don't Say 1

Can you store multiple data types in System.Array?

Select Answer: 1. Yes 2. No 3. .. 2

What’s the top .NET class that everything is derived from? Select Answer: 1. System.web 2. System.net 3. System.configuration 4. System.object 4

NHibernate mapping files What should the build action be for Nhibernate Xml files? Select Answer: 1. content 2. embedded resource 3. text 4. xml

2

Which tool can you use to precompile a Windows application? Which tool can you use to precompile a Windows application? A. mscorcfg.msc B. ngen.exe C. caspol.exe Select Answer: 1. A 2. B 3. C B

Whats is the sequence of execution of static and instance constructors of base and derived class when you assign a base class object with a derieved class instance a. Base Class Static Constructor b. Base class Instance Constructor c. Derieved class Static Constructor d. Derieved class Instance Constructor Select Answer:

1. abcd 2. cabd 3. dbac 4. bcda 5. acbd 2

Interfaces provide implementation of methods Select Answer: 1. Interfaces are pure virtual methods. 2. Interfaces can't implement. 3. it cannot be implemented of methods 1

Can we access static members from the non-static ( normal ) constructors? Can we access static members from the non-static ( normal ) constructors? Select Answer: 1. No 2. Yes 3. Can't say

2

Can we access static members from the non-static ( normal ) constructors? Can we access static members from the non-static ( normal ) constructors? Select Answer: 1. No 2. Yes 3. Can't say 1

Static Constructor..... How many Static Constructors can we create for a single class? Select Answer: 1. 2 2. 1 3. More than 1 4. 3 2

Can you inherit multiple interfaces?

Select Answer: 1. Yes 2. No 3. Can't Say 1

What is the garbage collector? Select Answer: 1. Recover the memory from variable 2. Recover the memory from objects 3. Recover the memory from classes 4. Recover the memory from methods 2

what are the modelling tools available for modelling in .net In the present context modelling is UML Select Answer: 1. RME for .net with RSA 2. Visual studio 3. RME for .net with RSA and Visual studio

4. eclipse 5. none of the above 1

What is the Interface? Select Answer: 1. Collection of Functions & Methods 2. Collection of Classes 3. Collection of Virtual Classes 4. Collection of Pure Abstract Classes 4

What is the size of an empty class..? Select Answer: 1. 0 2. 1 3. 2 4. 4 5. 8 2

Why should you close all database objects and set them to NULL before leaving the method where the objects were created? Why should you close all database objects and set them to NULL before leaving the method where the objects were created? A. To ensure that the object’s destructors are called. B. To ensure that the connection to the database is closed as soon as possible. C. To ensure that the objects can be reused. D. Good coding practice. Select Answer: 1. A 2. B 3. C 4. D b

Related Documents

C++ Question
November 2019 6
C# Question
November 2019 6
Question Mt2 Sem C
June 2020 10
Question
May 2020 22
Question
November 2019 43
Question
November 2019 33