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

Why we use content place holder in asp.net?

0 Answers  


Hi, I am a fresher. i have a problem related to DataGrid . i have a data grid and i have to place a dropdown in the datagrid.and i have to retrieve the values from the database (sqlserver).please tell me any idea about the code.

1 Answers   Lambent,


Which of the following hosts Can't be used to create .net Application? a) IIS b) Internet Explorer c) ASP.Net d) Windows Shell Which one is correct?

1 Answers   CTS, TCS,


How can you provide an alternating color scheme in a Repeater control?

6 Answers   Siebel Systems,


When you use Ajax controls in the ASP.NET application?

0 Answers   Viscus Infotech,


Can we have a web application running without web.config file?

0 Answers  


How can we Maintain more than on config file in one .Net web application and how?

1 Answers   USi,


Can you explain the difference between an ADO.NET Dataset and an ADO Recordset?

2 Answers  


How many types of sessions are there in asp net?

0 Answers  


What is web api and why to use it?

0 Answers  


What are the disadvantages of view state / what are the benefits?

2 Answers   Siebel Systems,


6. Tell us about a time when you failed to meet a deadline. What were the repercussions?

0 Answers   AlKhaleej, Swatz Oils,


Categories