Quiz On C# Programming Language Quiz

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Danikhan
D
Danikhan
Community Contributor
Quizzes Created: 1 | Total Attempts: 419
| Attempts: 419 | Questions: 68
Please wait...
Question 1 / 68
0 %
0/100
Score 0/100
1. The class which provides useful methods to convert any built-in data type to another built-in data type.

Explanation

System.Convert is the correct answer because it is the class in the System namespace that provides useful methods for converting one built-in data type to another. It offers methods like ToBoolean, ToInt32, ToDouble, etc., which allow for easy and efficient conversion between different data types. System.Console.Convert is not a valid option as there is no Convert class in the Console namespace.

Submit
Please wait...
About This Quiz
Quiz On C# Programming Language Quiz - Quiz

C# is here Variable of reference type store the memory address of other variables in a Stack. Take this quiz and learn more about it!

Tell us your name to personalize your report, certificate & get on the leaderboard!
2. This is a process for converting a value type to its reference type. this useful to reduce the overhead on the system during execution.

Explanation

Boxing is the process of converting a value type to its corresponding reference type. This is useful to reduce the overhead on the system during execution. By boxing a value type, it can be treated as an object and stored on the heap, allowing it to be passed as a parameter to methods that accept objects. This helps in scenarios where value types need to be used in a context that requires reference types, such as collections or interfaces.

Submit
3. This typeCasting is carried out automatically by the compiler.

Explanation

Implicit typecasting refers to the automatic conversion of one data type to another by the compiler without the need for any explicit instructions from the programmer. In this case, the correct answer is "Implicit" because the given statement states that the typecasting is carried out automatically by the compiler, indicating that it is an implicit typecasting.

Submit
4. These  are defined with two accessors or methods, the get and set accessors.

Explanation

Properties are defined with two accessors or methods, the get and set accessors. This allows us to encapsulate the internal state of an object and control how it is accessed and modified. Properties provide a way to read and write values to an object, while also allowing us to add logic or validation to the accessors if needed. Fields, on the other hand, are variables that are directly accessible within a class and do not have any associated accessors. Therefore, the correct answer is properties.

Submit
5. This namespace contains classes that enable you to read from and write to data stream and file.

Explanation

The System.IO namespace contains classes that enable you to read from and write to data stream and file. It provides classes like StreamReader and StreamWriter that allow reading and writing text from and to files, and BinaryReader and BinaryWriter that allow reading and writing binary data from and to files. This namespace is commonly used for file input/output operations in .NET applications.

Submit
6. This refers to converting a reference type to a value type.

Explanation

Unboxing refers to the process of converting a boxed value type back to its original value type. When a value type is boxed, it is wrapped inside an object, allowing it to be treated as a reference type. Unboxing is the reverse process where the boxed value is extracted from the object and converted back to its original value type. This allows for the retrieval of the original value and enables operations specific to value types to be performed on it.

Submit
7. This array is a multi-dimensional array and is reference to as an array of arrays.It considers of multiple arrays where the number of elements within each array can be different.

Explanation

The given explanation correctly identifies the concept of a jagged array. A jagged array is a type of multi-dimensional array where each sub-array within the main array can have a different number of elements. This is in contrast to a rectangular array, where all sub-arrays have the same number of elements. Therefore, the correct answer is Jagged Array.

Submit
8. A method name can be an underscore or the "@" character.

Explanation

not-available-via-ai

Submit
9. Namespaces control scopes of a class.

Explanation

This statement is true because namespaces in programming languages like C++ and C# are used to control the scope of classes, functions, and variables. By organizing code into different namespaces, developers can avoid naming conflicts and make their code more modular and maintainable. Namespaces provide a way to group related classes together and provide a hierarchical structure to the code. They help in organizing large codebases and make it easier to understand and navigate the code.

Submit
10. Thsi namespace contains classes and interfaces that define conplex data structure as lists,queues..and dictionaries.

Explanation

System.Collections is the correct answer because it is the namespace that contains classes and interfaces for defining complex data structures like lists, queues, and dictionaries. The other namespaces listed (System.Diagnostics, System.Io/System.Net, System.Data, and System.Web) do not specifically deal with data structures, but rather focus on other aspects of programming such as diagnostics, input/output, networking, database access, and web development.

Submit
11. Variables of this data types store actual values.This value stored in a stack.

Explanation

The explanation for the correct answer is that value types store actual values directly, meaning that the value itself is stored in memory. This is in contrast to reference types, where a reference to the value's location in memory is stored. Value types are typically stored in a stack, which is a region of memory that is used for local variables and function calls.

Submit
12. The keyword is used to resolve conflicts between variables having same names and to pass the current object as a parameter.

Explanation

The keyword "this" is used to refer to the current object in a class. It is used to resolve conflicts between variables that have the same name and to differentiate between instance variables and local variables. It can also be used to pass the current object as a parameter to another method or constructor.

Submit
13. A destructor start with the character '@' before the class name.

Explanation

A destructor in C++ is a special member function of a class that is called automatically when an object of that class is destroyed. It is used to release any resources or memory allocated by the object. In C++, a destructor is defined using the tilde (~) symbol followed by the class name, not with the character '@' before the class name. Therefore, the given statement is false.

Submit
14. This has many rows and columns.

Explanation

The given statement suggests that the object being referred to has both rows and columns, indicating that it has multiple dimensions. A multi-dimensional array is an array that contains other arrays, allowing for the storage of data in multiple dimensions. This makes it the most suitable option among the given choices.

Submit
15. These represent the behavior of an Object.

Explanation

Fields and properties represent the state or attributes of an object, such as its variables or data. On the other hand, methods represent the behavior or actions that an object can perform. Methods encapsulate the logic and functionality of an object, allowing it to interact with other objects and manipulate its own state. Therefore, methods are the correct answer as they define the behavior of an object.

Submit
16. This access modifier allows the class members to be accessible only within the classes of the same assembly.

Explanation

The access modifier "internal" allows the class members to be accessible only within the classes of the same assembly. This means that the members can be accessed by any code within the same assembly, but not by code outside of the assembly. This provides a level of encapsulation and restricts the visibility of the members to only the classes within the same assembly, ensuring that they are not accessed or modified by external code.

Submit
17. This keyword prevents a class from being inherited by any other class.

Explanation

The correct answer is "Sealed." The keyword "sealed" is used to prevent a class from being inherited by any other class. When a class is marked as "sealed," it cannot be used as a base class for any other class, effectively blocking inheritance. This is useful in scenarios where the design requires a class to be finalized and not extended further.

Submit
18. When implementing an interface in a class, you need to implement all the abstract  methods declared in the interface.

Explanation

When implementing an interface in a class, it is necessary to implement all the abstract methods declared in the interface. This is because an interface defines a contract that a class must adhere to, and implementing all the abstract methods ensures that the class provides the necessary functionality required by the interface. Failure to implement any of the abstract methods will result in a compilation error. Therefore, the correct answer is true.

Submit
19. Can is Delegate declared within class?

Explanation

Yes, a delegate can be declared within a class. A delegate is a type that represents a method signature and can be used to pass methods as parameters or return values. It can be declared within a class just like any other member, such as fields, properties, or methods. This allows the delegate to be accessed and used within the scope of the class.

Submit
20. Events are implemented using delegates.

Explanation

Delegates are a type-safe function pointer used to reference methods in a class. They are commonly used in event-driven programming, where an event can be associated with a delegate. When the event is triggered, the delegate invokes the associated methods. Therefore, it is correct to say that events are implemented using delegates.

Submit
21. This statement ensure that no other process or threads running in the computer memory can interfere with the code. ensure security and only work with reference type.

Explanation

The lock statement is used in C# to ensure that no other process or threads running in the computer memory can interfere with the code. It is used to ensure the security and integrity of the code by allowing only one thread to access a particular section of code at a time. This is particularly useful when working with shared resources or critical sections of code that need to be protected from concurrent access. The lock statement can only be used with reference types.

Submit
22. You can apply access modifier such as public, protected, private .. to namspaces

Explanation

Access modifiers such as public, protected, and private cannot be applied to namespaces in most programming languages. Namespaces are typically used to organize and group related code elements, and they do not have the same visibility and access control as classes or other code elements. Therefore, the statement is false.

Submit
23. Details of what a class contains need not be visible to other classes and objects that use it.

Explanation

Encapsulation is the correct answer because it refers to the concept of hiding the internal details and implementation of a class from other classes and objects. It allows for better control and organization of the code, as the class can define its own methods and variables that are only accessible within the class itself. This ensures that the internal workings of a class can be changed without affecting other parts of the program that use it.

Submit
24. This acces modifier allows the class members to be accessible within the class as well as within the derived class.

Explanation

The access modifier "protected" allows the class members to be accessible within the class as well as within the derived class. This means that any member with the "protected" access modifier can be accessed by any class that inherits from the current class, in addition to being accessible within the class itself. This provides a level of encapsulation and allows for better code organization and reuse.

Submit
25. You cannot use the 'this' keyword with static variables and method.

Explanation

The statement is true because the 'this' keyword is used to refer to the current object instance in a non-static context. Static variables and methods belong to the class itself rather than any specific object instance, so using 'this' with them would be invalid.

Submit
26. These Exception are thrown by the CLR.

Explanation

System-level Exceptions are thrown by the CLR (Common Language Runtime) in the .NET framework. These exceptions are related to the execution environment and include errors such as memory allocation failures, stack overflow, and invalid instructions. They are typically caused by issues at the system level, rather than specific to the application. Application-level Exceptions, on the other hand, are thrown by the application code itself and are specific to the logic and functionality of the application.

Submit
27. Returns the exception instance that caused the current Exception.

Explanation

The InnerException property returns the exception instance that caused the current exception. This property is useful in situations where one exception leads to another exception being thrown. By accessing the InnerException property, we can retrieve the original exception that triggered the current exception, allowing us to understand the root cause of the problem and handle it accordingly.

Submit
28. Constants are declared for value types rather than for reference types.

Explanation

Constants are used to declare values that cannot be changed once they are assigned. In programming, value types are types that hold their values directly, while reference types hold references to objects. Since constants are meant to hold values that do not change, it makes sense to declare them for value types rather than reference types. Therefore, the given statement is true.

Submit
29. So as to override  a particular method of base class in the derived class, we need to declare the method of base class using the keyword.

Explanation

To override a particular method of the base class in the derived class, we need to declare the method of the base class using the "virtual" keyword. This allows the derived class to provide its own implementation of the method, which will be used instead of the base class implementation when the method is called on an object of the derived class. The "override" keyword is then used in the derived class to indicate that the method is intended to override a virtual method from the base class.

Submit
30. This variable is a special type that is accessed without using an Object of a class.

Explanation

A static variable is a special type of variable that can be accessed without using an object of a class. It belongs to the class itself rather than a specific instance of the class. This means that all instances of the class share the same value of the static variable. It can be accessed directly using the class name followed by the variable name.

Submit
31. Which statements are true?

Explanation

Iterators are used to iterate over a collection of data. The yield break statement is used to prematurely end the iteration process and return control to the calling code. This means that when the yield break statement is encountered, the iterator stops producing values and exits. On the other hand, the statement "Iterators return a fixed number of values that cannot be changed" is false. Iterators can return a variable number of values, and the number of values can change depending on the logic implemented in the iterator.

Submit
32. Represents a generic collection consisting of the key and value pairs.

Explanation

The correct answer is IDictipnary. IDictipnary represents a generic collection consisting of the key and value pairs. It is used to store data in a key-value format, where each key is unique and associated with a corresponding value. With IDictipnary, you can perform various operations like adding, removing, and retrieving elements based on their keys. It provides an efficient way to store and access data in a structured manner.

Submit
33. This namespace provides classes and interfaces that allow communication between the browser and the serevr.

Explanation

The System.Web namespace provides classes and interfaces that allow communication between the browser and the server. This includes handling HTTP requests and responses, managing sessions and application state, and providing server-side functionality for web applications.

Submit
34. This is the feature of extracting only the required information from object.It's not show all technical details of object.

Explanation

Abstraction is the correct answer because it refers to the concept of hiding unnecessary details and only exposing the essential information. In the context of object-oriented programming, abstraction allows programmers to create classes that represent real-world objects and only expose the necessary properties and methods. This helps to simplify the complexity of the system and makes it easier to understand and use.

Submit
35. This has improved performance and unequal number of columns.

Explanation

A jagged array is a type of array where each element can be an array of different sizes. This allows for flexibility in storing and accessing data, as each sub-array can have a different number of columns. This can lead to improved performance in certain scenarios, as it allows for more efficient memory usage and reduces the need for resizing or reorganizing the array. Therefore, a jagged array is the most suitable option when dealing with an array that has an unequal number of columns.

Submit
36. This exception is thrown when the result of an arithmetic, casting or conversion  operation is to large to be stored in the destination object or variable.

Explanation

The given correct answer is System.OverflowException. This exception is thrown when the result of an arithmetic, casting, or conversion operation is too large to be stored in the destination object or variable. It typically occurs when attempting to assign a value that is outside the range of the data type being used.

Submit
37. Which are true?

Explanation

not-available-via-ai

Submit
38. These represent characteristic of an Object. Can not have any parameters. and can be overidden but cannot be Overload.

Explanation

Properties in object-oriented programming represent the characteristics or attributes of an object. They are used to encapsulate data and provide a way to access and modify it. Unlike methods, properties do not have any parameters and are typically used to get or set the value of a specific attribute. Properties can be overridden in derived classes to provide a different implementation, but they cannot be overloaded, meaning that multiple properties with the same name but different parameters cannot exist.

Submit
39. You can use the 'base' keyword for invoking the static methods of the base class.

Explanation

The statement is false because the 'base' keyword is used to access and invoke the members of the base class from within the derived class. It cannot be used to invoke static methods of the base class. To invoke static methods of the base class, the class name itself should be used.

Submit
40. Some of most Namespaces of System are:
- 4 choices

Explanation

The correct answer is System.Collections., System.Data, System.Io / System.Net, System.Diagnostics. These are the most commonly used namespaces in the System namespace. System.Collections provides classes for working with collections of objects, System.Data provides classes for working with data in a database, System.Io / System.Net provides classes for input/output operations and network communication, and System.Diagnostics provides classes for interacting with system processes and performance counters.

Submit
41. Which declaration is used to declare a delegate.

Explanation

The correct answer is "public delegate int Delagates_Name(int parameter1, int parameter2);". This is the correct declaration for declaring a delegate. The "delegate" keyword is used to declare a delegate, followed by the return type and the delegate name. In this case, the delegate name is "Delagates_Name" and it takes two parameters of type int. The return type is int.

Submit
42. Properties cannot be classified as variables but, They can use the ref and out keywords.

Explanation

The statement is incorrect. Properties can be classified as variables as they are a way to encapsulate data and provide access to it. However, properties cannot use the ref and out keywords, as those keywords are used with parameters in methods to pass them by reference.

Submit
43. Which statement are true  for Delegate?

Explanation

The given code snippet demonstrates the use of delegates in C#. A delegate is a type that represents a method signature, allowing you to pass methods as parameters or store them as variables. In this code, a delegate named "Add_Dele" is defined, which takes two integer parameters and returns an integer. The class "Delegate_Event" contains a static method named "add" that adds two integers and returns the result. The "Main" method creates an instance of the delegate and assigns the "add" method to it. The delegate is then invoked with two integer values, and the result is printed to the console.

Submit
44. Supports simple iteration over elements of a generic collection.

Explanation

IEnumerator supports simple iteration over elements of a generic collection. It provides methods like MoveNext() to move the iterator to the next element, and Current to access the current element. It is commonly used in loops to iterate over elements without exposing the underlying collection's structure. Unlike other options, IList, IDictionary, and ICollection provide more functionality than just iteration, such as indexing, key-value pairs, and adding/removing elements. Therefore, IEnumerator is the correct answer for this question.

Submit
45. The Reference Data Types are:
- 3 choices

Explanation

The correct answer is String, Object, Class, interface, Array, Delegate. These are all examples of reference data types in programming. Reference data types are used to store references to objects in memory rather than the actual values. String is a reference type used to store a sequence of characters. Object is the base class for all other classes in Java and is used to create instances of other classes. Class and interface are also reference types used to define and create objects. Array is a reference type used to store multiple values of the same type. Delegate is a reference type used to create and invoke methods dynamically.

Submit
46. This allows you to create arrays using the CreateInstance() method.

Explanation

The correct answer is "Array class" because the question states that the CreateInstance() method allows you to create arrays. The CreateInstance() method is a method of the Array class, so selecting "Array class" as the answer is the most appropriate choice.

Submit
47. Steps for implementing events in C# are:
  1. Create the event using the delegate.
  2. Subscribe to listen and handle the event.
  3. Define a public delegate for the event
  4. Raise the event.

Explanation

The correct order for implementing events in C# is as follows:
1. Define a public delegate for the event.
2. Create the event using the delegate.
3. Subscribe to listen and handle the event.
4. Raise the event.

First, we need to define a delegate that will be used to handle the event. Then, we create the event using this delegate. Next, we subscribe to the event by providing a method that will be executed when the event is raised. Finally, we raise the event, which triggers the execution of the subscribed methods.

Submit
48. This namespace contains classes that are used to interact with the system processes.

Explanation

The correct answer is System.Diagnostics. The System.Diagnostics namespace contains classes that are used to interact with the system processes. This includes classes for starting, stopping, and monitoring processes, as well as classes for accessing and manipulating performance counters and event logs. It provides functionality to debug and trace applications, manage processes and threads, and handle system events.

Submit
49. Which statement are true?

Explanation

Generics allow us to create classes, interfaces, and methods that can work with different data types. By using generics, we can write code that is type-safe and avoids the need for explicit or implicit casting. This means that we can use the generic type directly without having to convert it to a different type. Therefore, the statement "Generics can be implemented without a need for explicit or implicit casting" is true.

Submit
50. This statement is required to tell the garbage collector not to move that object during execution.

Explanation

The Fixed Statement is used in C# to declare a block of code in which a variable is pinned in memory, preventing the garbage collector from moving it. This is useful when working with unsafe code or when you need to ensure that a specific object remains at a fixed memory location during execution.

Submit
51. This keyword causes arguments to passed in a method by reference.
- 2 choices

Explanation

The keyword "ref" is used in C# to pass arguments to a method by reference. When a parameter is passed by reference, any changes made to the parameter inside the method will affect the original variable outside the method as well. The "out" keyword is also used to pass arguments by reference, but it is typically used when a method needs to return multiple values. Both "ref" and "out" allow for two-way communication between the calling method and the called method.

Submit
52. This namespace contains classes that make up ADO.NET architecture.

Explanation

The correct answer is System.Data because this namespace contains classes that are used in ADO.NET architecture. ADO.NET is a data access technology that allows developers to interact with databases and other data sources. The classes in the System.Data namespace provide functionality for connecting to databases, executing queries, and retrieving and manipulating data. Therefore, System.Data is the correct answer as it is directly related to ADO.NET.

Submit
53. How to declare Event?

Explanation

The correct answer is "delegate delegate_name (parameters); event ;". In C#, to declare an event, we first declare a delegate using the "delegate" keyword followed by the delegate name and parameters. Then, we declare the event using the "event" keyword followed by the delegate name and a semicolon. This syntax allows us to create and raise events in our code.

Submit
54. Variable of reference type store the memory address of other variables in a Stack.

Explanation

The given statement is false. Variables of reference type do not store the memory address of other variables in a stack. In fact, reference type variables store the memory address of objects in a heap. The stack is used to store value type variables and method calls.

Submit
55. Which declaration is used to declare a property.

Explanation

The correct answer is "public string Property_Name". This is the correct declaration to declare a property.

Submit
56. Which declaration is used to declare a indexer.

Explanation

The correct answer is "public string this[int index]". This is the correct declaration used to declare an indexer in C#. An indexer allows instances of a class or struct to be indexed just like an array, allowing you to access elements using square brackets. The declaration includes the keyword "this" followed by the type of the return value, the parameter list in square brackets, and the body of the indexer.

Submit
57. Which data structure can not be declared in a namespace ?

Explanation

not-available-via-ai

Submit
58. Customer exceptions can be used to changed the built-in  exceptions with modified message.

Explanation

Customer exceptions cannot be used to change the built-in exceptions with modified messages. Built-in exceptions are predefined in programming languages and cannot be modified directly. However, custom exceptions can be created by the user to handle specific scenarios and provide custom error messages. These custom exceptions need to be defined separately and cannot modify the existing built-in exceptions. Therefore, the given statement is false.

Submit
59. Method which is used to create Multi- Dimension Array

Explanation

The correct answer is "public static Array CreateInstance(type elementType, int length)". This method is used to create a multi-dimensional array with a specified element type and length. It does not specify the number of dimensions or the shape of the array, only the length of the first dimension. The other two methods, "CreateArray" and "CreateInstance" with two parameters, are not valid options for creating a multi-dimensional array.

Submit
60. Which statements are true?

Explanation

The conditional && operator does not check the second expression if the first expression is false because it is a short-circuit operator. If the first expression evaluates to false, the second expression is not evaluated because the overall result will already be false regardless of the second expression. This behavior can be used to improve efficiency in certain situations.

The compound assignment operators execute from right to left. This means that the right-hand side of the operator is evaluated first, and then the result is assigned to the left-hand side variable. This order of execution is important when using compound assignment operators because it can affect the final value of the variable.

Submit
61. Which statements are true?
- 3 choices

Explanation

not-available-via-ai

Submit
62. This namespace contains classes that you yo create Web-base applications.

Explanation

The correct answer is System.Net because this namespace contains classes that are used to create web-based applications. It provides classes for handling network communication, such as sending and receiving data over HTTP, FTP, and other protocols. Therefore, System.Net is the appropriate choice for developing web-based applications.

Submit
63. Events can be declared as :
- 2 choices.

Explanation

Abstract, Sealed, and Virtual are all keywords in object-oriented programming languages like C# or Java.

Abstract is used to declare an abstract class or method, which means it cannot be instantiated and must be inherited by a subclass. Sealed, on the other hand, is used to prevent a class from being inherited or a method from being overridden. Virtual is used to declare a method that can be overridden by a subclass.

Therefore, the correct answer is Abstract/Sealed, Virtual, as these are the keywords that can be used to declare events in object-oriented programming.

Submit
64. Which statements are true?

Explanation

Delegates are used to hide static methods. This means that delegates can be used to encapsulate a static method and provide a way to call that method indirectly. By using delegates, the implementation details of the static method can be hidden, allowing for greater flexibility and abstraction in the code. Additionally, delegates are declared with a return type that may or may not be the same as the return type of the referenced method, providing flexibility in handling different types of methods. However, delegates are not used to invoke overridden methods, as overridden methods are called directly through inheritance.

Submit
65. The built-in reference data types are :
- 2 choices

Explanation

The correct answer is Object and String. Object is a built-in reference data type in most programming languages, including Java and C#, that serves as the base class for all other classes. It represents a generic object and can be used to create instances of any class. String is also a built-in reference data type that represents a sequence of characters. It is commonly used to store and manipulate text in programming.

Submit
66. XML Comments begin with :

Explanation

XML Comments begin with three forward slashes. This is the correct answer because in XML, comments are denoted by the opening tag . The opening tag starts with three forward slashes (///) to indicate that it is a comment. Double slashes (//) are used in other programming languages like JavaScript and C++ to indicate single-line comments, but they are not used in XML comments. Three asterisks (/***) are also not used in XML comments.

Submit
67. Events can be declared in :
- 2 choices

Explanation

Classes and interfaces are both types of constructs in object-oriented programming languages that allow for the declaration and definition of events. Classes are used to define objects and their behavior, while interfaces define a contract for implementing classes. Both can include event declarations to define the occurrence and handling of specific events within a program. Therefore, events can be declared in both classes and interfaces.

Submit
68. Which are true?
- 2 choices

Explanation

The first statement is true because the get accessor is executed whenever the property is accessed, whether it is assigned a new value or not. The second statement is false because the get accessor does not have a parameter called value; it is used in the set accessor to receive the new value being assigned to the property. The third statement is true because the get accessor is called by referring to the name of the property, followed by parentheses, just like a method call.

Submit
View My Results

Quiz Review Timeline (Updated): Mar 22, 2023 +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 22, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Apr 11, 2012
    Quiz Created by
    Danikhan
Cancel
  • All
    All (68)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
The class which provides useful methods to convert any built-in data...
This is a process for converting a value type to its reference type....
This typeCasting is carried out automatically by the compiler.
These  are defined with two accessors or methods, the get and set...
This namespace contains classes that enable you to read from and write...
This refers to converting a reference type to a value type.
This array is a multi-dimensional array and is reference to as an...
A method name can be an underscore or the "@" character.
Namespaces control scopes of a class.
Thsi namespace contains classes and interfaces that define conplex...
Variables of this data types store actual values.This value stored in...
The keyword is used to resolve conflicts between variables having same...
A destructor start with the character '@' before the class name.
This has many rows and columns.
These represent the behavior of an Object.
This access modifier allows the class members to be accessible only...
This keyword prevents a class from being inherited by any other class.
When implementing an interface in a class, you need to implement all...
Can is Delegate declared within class?
Events are implemented using delegates.
This statement ensure that no other process or threads running in the...
You can apply access modifier such as public, protected, private...
Details of what a class contains need not be visible to other classes...
This acces modifier allows the class members to be accessible within...
You cannot use the 'this' keyword with static variables and method.
These Exception are thrown by the CLR.
Returns the exception instance that caused the current Exception.
Constants are declared for value types rather than for reference...
So as to override  a particular method of base class in the...
This variable is a special type that is accessed without using an...
Which statements are true?
Represents a generic collection consisting of the key and value pairs.
This namespace provides classes and interfaces that allow...
This is the feature of extracting only the required information from...
This has improved performance and unequal number of columns.
This exception is thrown when the result of an arithmetic, casting or...
Which are true?
These represent characteristic of an Object. Can not have any...
You can use the 'base' keyword for invoking the static methods of the...
Some of most Namespaces of System are:- 4 choices
Which declaration is used to declare a delegate.
Properties cannot be classified as variables but, They can use the ref...
Which statement are true  for Delegate?
Supports simple iteration over elements of a generic collection.
The Reference Data Types are:- 3 choices
This allows you to create arrays using the CreateInstance() method.
Steps for implementing events in C# are:  1. Create the event...
This namespace contains classes that are used to interact with the...
Which statement are true?
This statement is required to tell the garbage collector not to move...
This keyword causes arguments to passed in a method by reference.- 2...
This namespace contains classes that make up ADO.NET architecture.
How to declare Event?
Variable of reference type store the memory address of other variables...
Which declaration is used to declare a property.
Which declaration is used to declare a indexer.
Which data structure can not be declared in a namespace ?
Customer exceptions can be used to changed the built-in ...
Method which is used to create Multi- Dimension Array
Which statements are true?
Which statements are true?- 3 choices
This namespace contains classes that you yo create Web-base...
Events can be declared as :- 2 choices.
Which statements are true?
The built-in reference data types are : - 2 choices
XML Comments begin with :
Events can be declared in :- 2 choices
Which are true?- 2 choices
Alert!

Advertisement