What does Dispose method do with the connection object?

Answers were Sorted based on User's Feedback



What does Dispose method do with the connection object?..

Answer / guest

Deletes it from the memory

Is This Answer Correct ?    0 Yes 0 No

What does Dispose method do with the connection object?..

Answer / hitendra

You can write a code to release all dependence object
before connection object relased.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

What is the use of console?

0 Answers  


What do you know about WM_CHAR message?

0 Answers   C DAC,


hi, I am a begineer to c sharp. I have written a code for finding out prime numbers. Can anyone identify what are the flaws in my code. Kindly donot complex the code or present logic because i am new to c sharp and just started learning programming language.Thanks in advance. class Program { static void Main(string[] args) { int a,b=1; a = int.Parse(Console.ReadLine()); c= int.Parse(Console.ReadLine()); if (a % b == 0 && a % 2 != 0 && a % a == 0) Console.WriteLine(a); else if (a % b == 0 && a % 2 == 0) Console.WriteLine(a%2); Console.WriteLine("Number is not PRIME"); Console.ReadLine(); } } }

2 Answers  


Which technology is best for desktop application?

0 Answers  


What is equal c#?

0 Answers  






Is c# and c same?

0 Answers  


Explain the difference between passing parameters by value and passing parameters by reference with an example?

0 Answers  


How can you write a class to restrict that only one object of this class can be created (Singleton class)?

0 Answers  


Is everything an object c#?

0 Answers  


What is the difference between values and reference types?

0 Answers   Alcatel-Lucent,


What is Satellite Assemblies ?

0 Answers   MCN Solutions,


What does type safety mean?

0 Answers  


Categories