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

class Employee
{

stat9c Method1()
static Method2(ref a)
stat9c Method3(out x)

}

class Employee
{

stat9c Method1()
static Method2(ref a)
stat9c Method3(out x)

}

what will happen & why?

Answer Posted / sisira

it will give complie error bcoz same class name already
declare

Solution:
Make it both class Partial

and stat9c is not key word
please make it static.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I create a multilanguage, single-file assembly?

916


How to force my .net app to run as administrator on windows 7?

974


C# called c sharp why?

1004


What are the extension methods in c#?

911


Which debugging tools you can use in the .NET ssSDK?

974


How do I create a multilanguage?

922


What is a boolean c#?

892


Why do we need properties in c#?

888


What is the difference between list and array in c#?

1038


What does dbml mean in texting?

928


Which is faster iqueryable or ienumerable?

989


What is the difference between // comments, /* */ comments and /// comments?

843


Why do we need generics in c#?

931


Why do we use threads in c#?

992


What is array and arraylist?

1040