Q61. Is a delegate a type-safe functions pointer?
Ans. Yes
Q62. What is the return type of an event in .NET?
Ans. There is No return type of an event in .NET.
Q63. Is it possible to specify an access specifier to an event in .NET?
Ans. Yes, though they are public by default.
Q64. Is it possible to create a shared event in .NET?
Ans. Yes, but shared events may only be raised by shared methods.
Q65. How to prevent overriding of a class in .NET?
Ans. Use the keyword NotOverridable in VB.NET and sealed in C#.
Q66. How to prevent inheritance of a class in .NET?
Ans. Use the keyword NotInheritable in VB.NET and sealed in C#.
Q67. What is the purpose of the MustInherit keyword in VB.NET?
Ans. MustInherit keyword in VB.NET is used to create an abstract class.
Q68. What is the access modifier of a member function of in an Interface created in .NET?
Ans. It is always public, we cant use any other modifier other than the public modifier for the member functions of an Interface.
Q69. What does the virtual keyword in C# mean?
Ans. The virtual keyword signifies that the method and property may be overridden.
Q70. How to create a new unique ID for a control?
Ans. ControlName.ID = "ControlName" + Guid.NewGuid().ToString(); //Make use of the Guid class
Q71A. What is a HashTable in .NET?
Ans. A Hashtable is an object that implements the IDictionary interface, and can be used to store key value pairs. The key may be used as the index to access the values for that index.
Q71B. What is an ArrayList in .NET?
Ans. Arraylist object is used to store a list of values in the form of a list, such that the size of the arraylist can be increased and decreased dynamically, and moreover, it may hold items of different types. Items in an arraylist may be accessed using an index.
Q72. What is the value of the first item in an Enum? 0 or 1?
Ans. 0
Q73. Can we achieve operator overloading in VB.NET?
Ans. Yes, it is supported in the .NET 2.0 version, the "operator" keyword is used.
Q74. What is the use of Finalize method in .NET?
Ans. .NET Garbage collector performs all the clean up activity of the managed objects, and so the finalize method is usually used to free up the unmanaged objects like File objects, Windows API objects, Database connection objects, COM objects etc.
Q75. How do you save all the data in a dataset in .NET?
Ans. Use the AcceptChanges method which commits all the changes made to the dataset since last time Acceptchanges was performed.
Q76. Is there a way to suppress the finalize process inside the garbage collector forcibly in .NET?
Ans. Use the GC.SuppressFinalize() method.
Q77. What is the use of the dispose() method in .NET?
Ans. The Dispose method in .NET belongs to IDisposable interface and it is best used to release unmanaged objects like File objects, Windows API objects, Database connection objects, COM objects etc from the memory. Its performance is better than the finalize() method.
Q78. Is it possible to have have different access modifiers on the get and set methods of a property in .NET?
Ans. No we can not have different modifiers of a common property, which means that if the access modifier of a property's get method is protected, and it must be protected for the set method as well.
Q79. In .NET, is it possible for two catch blocks to be executed in one go?
Ans. This is NOT possible because once the correct catch block is executed then the code flow goes to the finally block.
Q80. Is there any difference between System.String and System.StringBuilder classes?
Ans. System.String is immutable by nature whereas System.StringBuilder can have a mutable string in which plenty of processes may be performed.
You can refer following link .Net Interview Question.
Dot Net Inteview Questions -I
Dot Net Inteview Questions -II
Dot Net Inteview Questions -III
Dot Net Inteview Questions -IV
Dot Net Inteview Questions -V
Welcome To Latest Dot Net Interview Questions and Answer.
In this Blog you can find all to Dot Net Interview Question and Answer. you can find Scenario based ASP.Net, VB.Net, C# and SQL Server Interview Questions and answers. Dot Net Jobs, Dot Net Books. SQL Server Books, Dot Net Based Company. Dot Net and SQL Server Training Institute.
Visual Studio.Net advanced Interview Questions, SQL Server advanced Interview Questions, Latest Interview Questions,ASP.NET, SQL Server, VB.Net, C#.Net and ADO.NET Interview Questions.Scenario Based Interview Questions. Visual Studio.Net Books and SQL Server Books. Technical Interview Questions, HR Interview Questions
In this Blog You can Find ASP.NET Web Application Projects Idea , C# Windows Application Projects Idea. VB.Net Windows Application Projects Idea, SQL Server Data Base Concept.
Visual Studio.Net advanced Interview Questions, SQL Server advanced Interview Questions, Latest Interview Questions,ASP.NET, SQL Server, VB.Net, C#.Net and ADO.NET Interview Questions.Scenario Based Interview Questions. Visual Studio.Net Books and SQL Server Books. Technical Interview Questions, HR Interview Questions
In this Blog You can Find ASP.NET Web Application Projects Idea , C# Windows Application Projects Idea. VB.Net Windows Application Projects Idea, SQL Server Data Base Concept.
Subscribe to:
Post Comments (Atom)
Resources
Dot Net Inteview Questions
Interview questions
ASP.Net
ASP.Net 2.0
Asp.Net Interview Questions
SQL Server Interview questions
.NEt 4.0 Framework
Basic .Net Framework Questions and answer
C#
Dot Net Projects
Introduction ASP.Net 2.0
Structure
.Net Remoting Interview Question and answer
3 + Years Experience Interview Questions
ACID
ADO.NET
ADO.NET Interview Questions and answer
ASP.NET Security
ASP.Net 3.5
ASP.Net 4.0
Advanced C# questions
Advanced Interview Question in Dot Net
Aggregate Functions in SQL SERVER 2008
Asp.Net Interview Questions and answer
Atomicity
CLR
Class
Common Language Runtime
Connection Pooling in ADO.NET
ConnectionString
Consistency
Delegates
Destructor
Difference Between Classes and Structs
Differnce between ASP.Net Vs ASP
Dot Net Interview Questions Book
Dot Net Project Idea
Durability
Final Year Project Idea.
HTML
Indexes in SQL Server
Interview questions for .NET Framework
Isolation
Mca Final year
Namespace
Object Oriented Programming Concept
Reference types
SQL Server
SQL Server 2008 Advantages
SQL Server Basic Databases
State Management Questions
Strong Name
Style Sheet
The Garbage Collection
The Garbage Collector in .Net
Types of Indexes
UDDI
Value types
WDSL
WEB SERVICES AND REMOTING
Web Control Class in ASP.Net 4.0
Web Service Questions
What is a static class?
XHTML
XML
XSLT
Xml Documents
improve SQL Server Performance
static member of class
My Profile
I have 4 years Experience .Net and SQL Server. I am working as software engineer in private company Bangalore. I have faced many interviews. Here I am Sharing My Interview experience (Technical, HR and Written Test). This Blog is useful for .Net Developers and Freshers. My hobbies I like to play Foot ball, to read some books, to Learn new technologies. I have Experienced in Asp.Net 2.0, C#.Net, VB.Net, SQL Server and Xml.
0 comments
Post a Comment