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...

I have a class declared as below
public class a
{
public void add()
{}
}



What is the diference between
a a1 =new a;
and simply
a a1;

Answer Posted / rahul maurya

in a a1=new a memory is allocated to the main function to execute

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is eager loading in c#?

857


If c# destructors are so different to c++ destructors, why did ms use the same syntax?

887


How to override a function in c#?

958


Explain why do I get an error (cs1006) when trying to declare a method without specifying a return type?

783


What is Assembly. and Describe type of assembly. why most developer happy with private assembly.

925


Define satellite Assembly in .NET?

941


What language is c# similar to?

887


What is lazy class in c#?

819


What is activator c#?

866


Explain states of a thread in c#?

930


Why main method is static in c#?

906


What is event delegate in c#?

1040


What's the difference between WindowsDefaultLocation and WindowsDefaultBounds?

1125


What is dynamic dispatch?

933


What are winforms in c#?

871