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 the displayafter property in updateprogress control?
What are runtime hosts?
i wand basic interview based questions in asp.net and vb.net
I need some questions regarding asp.net for 1.5yrs of Experience.
What are server side controls?
what is manifest?
What is distributed system in asp.net?
What would be salary for 6+ years of experience in ASP.NET in different metro city in india?
public key?
version information of assembly consist of _________ values.
What is a PostBack? What is ViewState? How is it encoded? Is it encrypted? Who uses ViewState? Why is it either useful or evil?
Explain Generics?
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)