Explain why canot we use multiple inheritance and garbage collector paralelly in .net?
Answer / Rahul Sahai
In .NET, Multiple Inheritance is not directly supported due to complexities such as ambiguity in method resolution and diamond problem. Garbage Collector, on the other hand, runs periodically to clean up unreferenced objects. Both cannot be used together efficiently because multiple inheritance can create circular references that make it difficult for the garbage collector to identify and clean up unused memory.
| Is This Answer Correct ? | 0 Yes | 0 No |
Why do we use sqldataadapter?
What provider ado.net use by default? Explain the role of data provider in ado.net? What is the role of data provider in ado.net?
What is ole used for?
What are the advantage of ado.net?
What is ado asp?
What are the Data providers in ADO.Net?
Which method is used by command class to execute SQL statements that return single value?
Can we do database operations without using any of the ado.net objects?
What is ADO .NET and what is difference between ADO and ADO.NET?
What is difference between executenonquery and executequery?
Diff B/W DataSet vs DataTable
What is ole2 format?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)