Using Statement usage in C#
Answers were Sorted based on User's Feedback
Answer / nipun
The using statement allows the programmer to specify when objects that use resources should release them. The object provided to the using statement must implement the IDisposable interface. This interface provides the Dispose method, which should release the object's resources.
e.g.
using (Font font1 = new Font("Arial", 10.0f))
{
}
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / om shivaya namaha
Using statement is used to import the namespaces in to the
page by reading the namespace classname it will search the
class in DotNet Farame work class library and that
perticaular class is imported in to the page
| Is This Answer Correct ? | 2 Yes | 3 No |
what is PostBack Property exactly ? when It Returns True? when it Returns False?
What is latest version of asp.net mvc? : Asp.Net MVC
what is asp.net
What is ascx?
What is the best way to search any exact information on google?
What is the procedure to create the environment for asp.net? : asp.net mvc
How to you can limit Access to Web API to Specific HTTP Verb?
What are triggers of an updatepanel?
Error : The operation couldn’t be performed because ole db provider sqlncli10 for linked server was unable to begin a distributed transaction.00000110 oledb provider for linked server returned message the partner transaction manager has disabled its support for remote/network transactions. I can able to execute the stored procedure in sql server but when i run the web page getting error like above. I did all the configuration. what is the solution?
What is cached data phone?
How many web.config files in each solution
What is the Difference between MVC And MVP design pattrens
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)