██████████████████████████████████████████████████████████████████████


Showing posts with label OOPS. Show all posts
Showing posts with label OOPS. Show all posts

Que:::: What is the difference between System.String and System.StringBuilder classes?

Que:::: In a program there are multiple catch blocks so can it happen that two catch blocks are executed?

Que:::: Can we have static indexer in C#?

Que:::: What is Indexer?

Que:::: If we write a goto or a return statement in try and catch block will the finally block execute?

Que::::
Can we have different access modifiers on get/set methods of a property?

Que:::: In what instances you will declare a constructor to be private?

Que:::: How do I force the Dispose method to be called automatically, as clients can forget to call Dispose method?

Que:::: What is the use of DISPOSE method?

Que:::: How can we suppress a finalize method?

Que:::: Why is it preferred to not use finalize for clean up?

Que:::: What is the significance of Finalize method in .NET?

Que:::: In below sample code if we create a object of class2 which constructor will fire first?
Public Class Class1
Sub New()
End Sub
End Class
Public Class Class2
Inherits Class1
Sub New()
End Sub
End Class

Que:::: What is Operator Overloading in .NET?

Que::: What is nested Classes?

Que:::: What is ENUM?

Que:::: What are queues and stacks?

Que:::: What’s a HashTable?

Que:::: Where are all .NET Collection classes located?

Que:::: What is the use of “Overrides” and “Overridable” keywords?