Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Using Statement usage in C#

Answers were Sorted based on User's Feedback



Using Statement usage in C#..

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

Using Statement usage in C#..

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

Post New Answer

More ASP.NET Interview Questions

What is the purpose of the following segment? If ( !IsPostBack) { sqldataAdapter1.Fill (dsusers1); DataGrid1.DataBind (); } a) To populate the DataAdapter the first time the web page id displayed. b) To populate the DataSet every time the web page is displayed. c) To populate the DataAdapter every time the web page is displayed. d)To populate the DataSet the first time the web page is displayed.

2 Answers   Syntax Softtech,


What are the new features added from ASP to ASP.NET?

0 Answers   Amdocs,


Which method do you invoke on the DataAdapter control to load your generated dataset with data?

2 Answers  


How to make sure that contents of an updatepanel update only when a partial postback takes place (and not on a full postback)?

0 Answers  


diffrance between stored procedure & function in sql server?

2 Answers  


What is difference between Server.Transfer and Response.Redirect in ASP.NET?

0 Answers   Sans Pareil IT Services,


Difference between connected architecture and Dissconnected architecture?

2 Answers  


what are the ways to improve performance in .net application?

7 Answers   Mind Tree,


difference between caching objects in session objects?

2 Answers  


what is page life cycle state management postback cross page postback types of feilds in gridview gridview events their life cycle cte in sql diff truncate and delete paging concepts in gridview diff bet gridview datalist and repeater what new operations in sql 2005 compared to earlier you get

1 Answers   e4e,


What are the types of assemblies and where can u store them and how ?

1 Answers   Patni,


Out of ASP or ASP.NET which one is stateless?

0 Answers   BirlaSoft,


Categories