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 session in asp.net?
how we use web services
What does session_start () do?
What is Pre-Render event in ASP.NET?
Explain the procedure to handle the process request using mhpm events fired? : asp.net mvc
How to create a db connection at one place/page so that we can use that connection for all pages/forms/windows.what r the steps ned to be performed if question not clear,let me know
How many view state can be hold by a aspx page ?
To call a Web service SOAP which transport protocol you use?
Any alternative to avoid name collisions other then Namespaces?
What is smart navigation?
What is difference between response.redirect and server.transfer ?
2 Answers Kalinga Software, Satyam,
Define what is razor? : asp.net mvc
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)