Qus:    Why we should use “Using” in c# ?
Dec 07, 2020 21:27 DotNet 2 Answers Views: 1927 FRAUSKY

It will automatically take the dispose of object for unmanaged application , when we are using ado.net object while implementing the methodology.



The using statement is used to set one or more resources and these resources are executed and the resource is released. So, using is used for managing and releasing all the resources automatically.

Prev Next
Answers (2)
RAMU Dec 08, 2020 14:28
Answer:   It will automatically take the dispose of object for unmanaged application , when we are using ado.net object while implementing the methodology.

PARTH Dec 09, 2020 13:04
Answer:   The using statement is used to set one or more resources and these resources are executed and the resource is released. So, using is used for managing and releasing all the resources automatically.

Post Your Answer
Guest User

Not sure what solution is right for you?

Choose the right one for you.
Get the help of the experts and find a solution that best suits your needs.


Let`s Connect