Qus:    Why we should use “Using” in c# ?
Dec 07, 2020 15:27 2 Answers Views: 1038 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 08: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 07: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 course is right for you?

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


Let`s Connect