C#
Comprehensive quiz covering C# language fundamentals, .NET framework concepts, ADO.NET, and Visual Studio development for C# programmers.
Questions
The JIT compiled code can be converted to pre-compiled format by a process called
- code marshalling
- pooling
- remoting
- code pitching
Do Form Post and Post Back differ from each other?
- Yes
- No
- Sometimes
- Can't be determined
What attribute must mark the methods exposed by a Web Service?
- Web Service Method ()
- Web Method ()
- Web Services ()
- Services Method ()
A structure in C# can be derived from one or more
- classes
- interfaces
- both (1) and (2)
- none of these
How do you examine the content of the variables and objects in scope in each line of a code without actually seeing their content within the functions where they exist?
- Immediate Window
- Local Window
- Auto Window
- Quick Watch Window
Which namespace provides the event log support?
- using System.log
- using System.Diagnostics
- using System.Event
- None of these
Which of the following is true?
- An object is the instantiation of a class.
- A class is the implementation of an object.
- An object is the implementation of a class.
- A class is the instantiation of an object.
Does an XML play any role in the ADO.NET architecture?
- No
- Yes
- Sometimes
- Can't be determined
Which of the following enable(s) you to change multiple values in a method?
- Reference Parameters
- Output Parameters
- Aliases
- Both (1) and (2)
Can you store multiple data types in Systems.Array?
- Yes
- No
- May be
- Sometimes
Are private class level variables inherited?
- Yes
- No
- Can't tell
- May be
How many dimensions can an array take?
- Up to 50
- Up to 60
- Up to 100
- Up to 90
Which one of the following is not a C# reserved keyword?
- Is
- Of
- As
- In
Which one of the following must be initialised before it/they can be used in the method call?
- Reference Parameters
- Output Parameters
- Aliases
- Both (1) and (2)
A finally block can have
- break
- continue
- return
- none of these
In C#, a namespace can be imported by using
- namespace directive
- import keyword
- import construct
- the keyword ''Using�
Which of the following is not a property of dictionary object?
- Item()
- Key()
- CompareMode()
- Exists()