Pcs- Programming In C# Test For Aptech

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 Vietha
V
Vietha
Community Contributor
Quizzes Created: 11 | Total Attempts: 9,911
| Attempts: 2,004 | Questions: 65
Please wait...
Question 1 / 65
0 %
0/100
Score 0/100
1. Variables of this data types store actual values.This value stored in a stack.

Explanation

The given answer correctly identifies that variables of value types store actual values. This means that when a value type variable is assigned a value, the actual value is stored directly in the variable's memory location. This is in contrast to reference types, where variables store a reference to an object in memory rather than the actual value. Additionally, the answer mentions that the value of a value type is stored in a stack, which is the memory area used for local variables and function calls.

Submit
Please wait...
About This Quiz
Pcs- Programming In C# Test For Aptech - Quiz

C# is here Variable of reference type store the memory address of other variables in a Stack.

Personalize your quiz and earn a certificate with your name on it!
2. This namespace contains classes that enable you to read from and write to data stream and file.

Explanation

The correct answer is System.IO because it is the namespace that contains classes for reading from and writing to data streams and files. This namespace provides functionality for working with files, directories, and other input/output operations.

Submit
3. 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 in scenarios where a value type needs to be treated as an object, such as when storing it in a collection or passing it as a parameter to a method that expects an object. Boxing helps reduce the overhead on the system during execution by allowing value types to be used in contexts that require reference types.

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. These accessors allow us to retrieve and modify the value of a property. Properties provide a way to encapsulate the internal state of an object and provide controlled access to it. They are often used to expose the values of private fields in a class, allowing controlled access and modification of those values. Unlike fields, properties can have logic and validation associated with them, providing more flexibility and control over how the values are accessed and modified.

Submit
5. 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 fulfill, and any class implementing that interface must provide concrete implementations for all the abstract methods specified by the interface. Failure to implement any of the abstract methods will result in a compilation error. Therefore, the correct answer is true.

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

Explanation

System.Web is the correct answer because it is a namespace in .NET that provides classes and interfaces specifically designed for web development. It includes classes for handling web requests and responses, managing sessions, working with cookies, and other web-related functionalities. This namespace is essential for building web applications and allows communication between the browser and the server. On the other hand, System.Net is primarily used for network programming, and System.Data is focused on database access.

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

Explanation

Constants are declared for value types rather than for reference types because value types store their values directly in memory, while reference types store a reference to the memory location where the actual data is stored. Since constants are immutable and their values cannot be changed, it makes sense to declare them for value types that have their values stored directly. Reference types, on the other hand, can have their values changed by modifying the data at the memory location they reference, so it would not be appropriate to declare constants for them.

Submit
8. 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 a class in the System namespace that provides useful methods for converting one built-in data type to another. This class includes methods like ToInt32, ToDouble, ToBoolean, etc., which allow for easy conversion between different data types. The System.Console.Convert option is incorrect because there is no Convert class in the Console namespace.

Submit
9. Events are implemented using delegates.

Explanation

Events in programming are indeed implemented using delegates. Delegates are used to define the signature of an event handler method, and events are declared using the event keyword. When an event is raised, all the registered event handlers (methods) are invoked through the delegate, allowing them to respond to the event. Therefore, the correct answer is True.

Submit
10. 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 in object-oriented programming languages to refer to the current object. It is used to resolve conflicts between variables that have the same names and to differentiate between instance variables and local variables within a class. Additionally, "this" can be used to pass the current object as a parameter to another method or constructor. This allows for better code readability and avoids ambiguity when working with variables and methods within a class.

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

Explanation

A destructor does not start with the character '@' before the class name. In C++, a destructor is a special member function of a class that is automatically called when an object of that class goes out of scope or is deleted. The destructor has the same name as the class, preceded by a tilde (~). Therefore, the given statement is false.

Submit
12. 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 using namespaces, we can organize our code and avoid naming conflicts between different classes or functions with the same name. Each namespace creates a separate scope, allowing us to define classes with the same name in different namespaces without any conflict. Therefore, namespaces play a crucial role in controlling the scope of a class.

Submit
13. 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 array as a jagged array. A jagged array is a multi-dimensional array where each sub-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 given array is a jagged array.

Submit
14. This has many rows and columns.

Explanation

The given correct answer is "Multi-dimensional Array" because the question mentions that the object has many rows and columns. A multi-dimensional array is a data structure that can store values in multiple dimensions, such as rows and columns. It allows for the organization of data in a tabular form with multiple levels of nesting. Therefore, a multi-dimensional array is the most suitable option for an object with many rows and columns.

Submit
15. Can is Delegate declared within class?

Explanation

Yes, a delegate can be declared within a class. Delegates are a type-safe function pointer that allows encapsulation of a method, similar to a function pointer in C and C++. They are often used to define callback methods or to implement event handling in C#. By declaring a delegate within a class, the delegate becomes a member of that class and can be accessed and used within the class just like any other member.

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 other classes within the same project or assembly, but not by classes outside of the assembly. It provides a level of encapsulation and restricts the visibility of the members to only the classes within the same assembly, enhancing code security and maintainability.

Submit
17. 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

In order 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 keyword "virtual". This allows the derived class to provide its own implementation of the method, effectively replacing the implementation in the base class. By using the "virtual" keyword, we ensure that the method can be overridden in the derived class and that the correct implementation is called based on the type of the object at runtime.

Submit
18. These represent the behavior of an Object.

Explanation

Fields and properties represent the state or characteristics of an object, such as its variables or attributes. However, methods represent the behavior or actions that an object can perform. Methods are used to manipulate the object's state, perform calculations, or interact with other objects. Therefore, methods are the correct answer as they define the behavior of an object.

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

Explanation

Unboxing refers to the process of converting a value type that was previously boxed into its original value type. When a value type is boxed, it is encapsulated within an object on the heap, allowing it to be treated as a reference type. Unboxing, on the other hand, involves extracting the original value type from the boxed object. This is typically done using explicit casting or the unboxing syntax in order to retrieve the original value and use it as a value type again.

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

Explanation

A method name cannot be an underscore or the "@" character. In most programming languages, method names must follow certain rules and conventions, such as starting with a letter and consisting of letters, numbers, and underscores. The "@" character is often used for special purposes in programming languages, such as denoting attributes or decorators, and cannot be used as part of a method name. Therefore, the statement is false.

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

Explanation

The keyword "sealed" prevents a class from being inherited by any other class. It is used to restrict the inheritance of a class and ensure that it cannot be extended or subclassed. By marking a class as sealed, it becomes a final class and cannot be further derived. This is useful when you want to prevent other classes from extending or modifying the behavior of a particular class.

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

Explanation

The System.Collections namespace contains classes and interfaces that define complex data structures such as lists, queues, and dictionaries. This namespace provides a variety of collection classes that can be used to store and manipulate groups of objects. These classes include ArrayList, Queue, Stack, Hashtable, and Dictionary. By using the classes and interfaces in the System.Collections namespace, developers can efficiently manage and manipulate collections of data in their applications.

Submit
23. 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 example of implicit typecasting.

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

Explanation

A static variable is a special type that can be accessed without using an object of a class. It belongs to the class itself rather than an instance of the class. This means that all objects of the class share the same static variable, and any changes made to it will be reflected in all instances. Static variables are useful for storing data that is common to all objects of a class, such as a counter or a constant value.

Submit
25. These Exception are thrown by the CLR.

Explanation

System-level Exceptions are thrown by the CLR (Common Language Runtime) when there is an error at the system level, such as memory access violations or stack overflow. These exceptions are not specific to any particular application and can occur in any .NET application. The CLR handles these exceptions and can terminate the application if necessary. Application-level Exceptions, on the other hand, are specific to a particular application and are thrown when there is an error in the application's code or logic.

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

Explanation

not-available-via-ai

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

Explanation

The protected access modifier allows class members to be accessible within the class as well as within the derived class. This means that any member marked as protected can be accessed by code within the same class or any subclass that inherits from it. It provides a level of encapsulation by allowing the class and its subclasses to have access to the member, while still restricting access from outside the class hierarchy.

Submit
28. 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 ensures that no other process or threads running in the computer memory can interfere with the code. It is used to provide synchronization and ensure thread safety by allowing only one thread to access a specific block of code at a time. The lock statement is typically used with reference types to prevent multiple threads from accessing and modifying the same object simultaneously, which could lead to data corruption or inconsistent results.

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

Explanation

In Java, the 'this' keyword is used to refer to the current object. However, static variables and methods are not associated with any particular instance of the class, but with the class itself. Therefore, it is not possible to use the 'this' keyword with static variables and methods.

Submit
30. 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 3-1-2-4. First, a public delegate for the event is defined. Then, the event is created using the delegate. After that, we subscribe to listen and handle the event. Finally, the event is raised. This order ensures that the event is properly defined, created, subscribed to, and raised in the correct sequence.

Submit
31. Which statement are true  for Delegate?

Explanation

The given code demonstrates the use of delegates in C#. A delegate is a type that represents references to methods with a particular parameter list and return type. In this code, a delegate named "Add_Dele" is declared, which takes two integers as parameters and returns an integer. The code also includes a class named "Delegate_Event" with a static method named "add" that adds two numbers and returns the result. The "Main" method creates an instance of the delegate and assigns the "add" method to it. It then calls the delegate, passing two values, and prints the result.

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

Explanation

The correct answer is "Array class" because the CreateInstance() method is a method of the Array class. This method allows you to create arrays dynamically at runtime.

Submit
33. 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 and cannot be moved by the garbage collector. This is useful when working with unmanaged code or when you need to ensure that a specific object remains in a fixed memory location during execution. By using the Fixed Statement, you can guarantee that the object will not be moved, providing stability and preventing potential issues that could arise from the object being relocated.

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

Explanation

The System.Diagnostics namespace contains classes that are used to interact with the system processes. This includes classes for starting and stopping processes, monitoring performance counters, and managing event logs. This namespace provides functionality for debugging and profiling applications, as well as retrieving information about running processes and system resources.

Submit
35. 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. This allows for better control over the data and behavior of the class, as well as providing a clear interface for other classes to interact with. By encapsulating the details of a class, we can ensure that the class remains modular and can be easily modified or extended without affecting other parts of the codebase.

Submit
36. 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 some of the most commonly used namespaces in the System namespace. System.Collections provides classes for working with collections of objects, System.Data is used for accessing and manipulating data from databases, System.Io / System.Net is used for input/output operations and network communications, and System.Diagnostics provides classes for interacting with system processes and performance counters.

Submit
37. 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 syntax for declaring a delegate in C#. The keyword "delegate" is used to declare a delegate type, followed by the return type and the delegate name. The parameters are specified inside the parentheses. In this case, the delegate is named "Delagates_Name" and it takes two integer parameters. The return type is "int".

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

Explanation

The correct answer is False. Variables of reference type store the memory address of other variables in the Heap, not the Stack. In the Stack, only value types and references to objects in the Heap are stored. Reference types themselves are stored in the Heap, and the variables in the Stack hold the memory address of those objects.

Submit
39. 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 the form of key-value pairs, where each key is unique. This interface provides methods to add, remove, and access elements based on their keys. It allows efficient retrieval of values using keys and is commonly used for dictionary-like data structures.

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

Explanation

The correct answer is "ref, out". In C#, the "ref" keyword is used to pass arguments by reference, allowing the method to modify the value of the argument. Similarly, the "out" keyword is also used to pass arguments by reference, but it is typically used when the method needs to return multiple values. The other choices, "args", "reg", and "this", are not keywords used for passing arguments by reference.

Submit
41. 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. Properties are a way to encapsulate fields and provide access to them through getter and setter methods. In this declaration, a property named "Property_Name" of type string is being declared. The body of the property can be defined to specify the logic for getting and setting the value of the property.

Submit
42. 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 define the state of an object and can be accessed and modified using getter and setter methods. Properties cannot have any parameters, meaning they do not accept arguments. They can be overridden in derived classes to provide a different implementation, but they cannot be overloaded, which means you cannot have multiple properties with the same name but different parameters.

Submit
43. 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 System.OverflowException is the correct answer because it is thrown when the result of an arithmetic, casting, or conversion operation is too large to be stored in the destination object or variable. This exception is specifically designed to handle situations where an overflow occurs.

Submit
44. 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 feature of extracting only the required information from an object and not showing all the technical details. In programming, abstraction allows us to focus on the essential aspects of an object or system, hiding the unnecessary complexity. It helps in simplifying the code and making it more manageable and understandable. By using abstraction, we can create classes, interfaces, and methods that provide a high-level view of the functionality, allowing users to interact with the system without needing to know the underlying implementation details.

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

Explanation

The correct answer is System.Data because this namespace contains classes that are specifically designed for the ADO.NET architecture. ADO.NET is a set of technologies in the .NET framework that allows developers to access and manipulate data from various data sources. The classes in the System.Data namespace provide functionality for connecting to databases, executing queries, and retrieving and updating data. Therefore, System.Data is the most appropriate choice for a namespace that contains classes related to ADO.NET architecture.

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

Explanation

A jagged array is a type of array in which the elements are arrays themselves. Unlike a multi-dimensional array, a jagged array allows for each row to have a different number of columns. This flexibility in size makes jagged arrays suitable for situations where the number of elements in each row may vary. In terms of performance, jagged arrays can offer improved performance compared to multi-dimensional arrays because they do not require memory allocation for unused elements. Therefore, a jagged array is the most appropriate choice given the requirement of improved performance and unequal number of columns.

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

Explanation

The correct answer is Object and String because these are both built-in reference data types in programming. Objects are used to represent real-world entities and have properties and methods associated with them. Strings are used to represent sequences of characters and are commonly used for storing and manipulating text. Both Object and String are fundamental data types that are included in most programming languages.

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

Explanation

The correct answer is "public string this[int index] { //body }". This is the correct declaration to declare an indexer in C#. An indexer allows objects to be indexed like an array, and it is defined using the "this" keyword followed by the type of the object being indexed (in this case, "string") and the parameter type (in this case, "int index"). The body of the indexer contains the logic that is executed when the object is accessed using an index.

Submit
49. 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 when an exception is caused by another exception, allowing the developer to access the original exception and its details. By examining the InnerException, the developer can gain more insight into the root cause of the exception and potentially handle it differently.

Submit
50. Which are true?

Explanation

not-available-via-ai

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

Explanation

Properties can be classified as variables because they are used to store and retrieve values, just like variables. However, properties differ from regular variables in that they provide a way to control access to the underlying data. The ref and out keywords, on the other hand, are used to pass parameters by reference in method calls, and are not directly related to properties. Therefore, the statement that properties can use the ref and out keywords is incorrect.

Submit
52. How to declare Event?

Explanation

This is the correct answer because it shows the correct syntax for declaring an event in C#. The "delegate delegate_name (parameters);" line declares a delegate that will be used as the type for the event, and the "event;" line declares the actual event.

Submit
53. Which statements are true?
- 3 choices

Explanation

not-available-via-ai

Submit
54. 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 type of elements and a specified length. It is a static method that can be accessed without creating an instance of the class. The "elementType" parameter specifies the type of elements in the array, and the "length" parameter specifies the length of the array. This method can be used to create a one-dimensional array by passing a single length parameter, or a multi-dimensional array by passing multiple length parameters.

Submit
55. 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 in C# to access and invoke the members of the base class from within a derived class, but it cannot be used to invoke static methods of the base class. Static methods are accessed using the class name itself, not through an instance or the 'base' keyword.

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

Explanation

The correct answer is System.Net. This namespace contains classes that are used to create and manage network connections, send and receive data over the internet, and handle various network protocols. It includes classes for working with HTTP requests and responses, TCP/IP sockets, FTP, SMTP, and more. This namespace is commonly used in web-based applications to handle network communication and data transfer.

Submit
57. Which are true?
- 2 choices

Explanation

The first statement is true because the get accessor can be executed when the property is assigned a new value. This means that when the property is accessed and a new value is assigned to it, the get accessor can be executed to retrieve the value.

The third statement is also true because the get accessor can be executed by referring to the name of the property. This means that when the property is accessed, the get accessor is automatically invoked and the value of the property is returned.

Therefore, both statements are true and accurately describe the behavior of the get accessor in relation to property assignment and execution.

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

Explanation

not-available-via-ai

Submit
59. XML Comments begin with :

Explanation

XML comments in most programming languages begin with three forward slashes (///). Double slashes (//) are used for single-line comments in some programming languages like C++ and Java, but they are not used for XML comments. Three asterisks (***) are not used for XML comments in any programming language.

Submit
60. 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 exceptions provided by the programming language or framework, and their messages cannot be directly modified by customer exceptions. Customer exceptions can be used to create new exceptions with custom messages, but they cannot modify the messages of existing built-in exceptions. Therefore, the given statement is false.

Submit
61. Which statements are true?

Explanation

Delegates are used to hide static methods. Delegates provide a way to encapsulate a method and treat it as an object, allowing it to be passed as a parameter or stored in a variable. They can be used to hide static methods by providing a level of indirection, allowing the method to be invoked through the delegate instead of directly. This can be useful in scenarios where the static method needs to be accessed through a different interface or when the implementation of the static method needs to be changed without affecting the calling code.

Submit
62. Which statement are true?

Explanation

Generics can be implemented without a need for explicit or implicit casting because they allow for type safety. By using generics, the compiler can ensure that the appropriate type is used in a generic class or method, eliminating the need for casting. This helps to prevent runtime errors and improves code readability and maintainability.

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

Explanation

Events can be declared in classes and interfaces. In object-oriented programming, an event is a mechanism that allows an object to notify other objects when something of interest happens. By declaring events in classes and interfaces, we can define the structure and behavior of the events and how they should be handled by other objects. This allows for better organization and encapsulation of code, making it easier to manage and maintain the application.

Submit
64. Which statements are true?

Explanation

The given correct answer states that the conditional && operator does not check the second expression if the first expression is false. This means that if the first expression in a conditional statement using && is false, the second expression will not be evaluated.

The answer also states that compound assignment operators execute from right to left. This means that if there are multiple compound assignment operators in a statement, they will be executed in reverse order from right to left.

Both of these statements accurately describe the behavior of the operators mentioned.

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

Explanation

not-available-via-ai

Submit
View My Results

Quiz Review Timeline (Updated): Feb 20, 2023 +

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

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

Advertisement