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

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between a private assembly and a shared assembly?

1050


How do you comment out code in c#?

957


What is the default value of guid in c#?

935


Does c# support a variable number of arguments?

1067


List some of the classes used by system.data namespace?

873


Perfect Example Of While And Do-While Loop In C#.Net ?

1028


Can you have an array of arrays?

996


What can be done with c#?

880


Why do we need interfaces in c#?

951


How do you name a variable in c#?

963


Is there an equivalent to the instanceof operator in visual j++?

1008


Define assert() method? How does it work?

1197


Explain attributes in c#?

886


What are the return types in c#?

1009


Howmany five tracing levels in System.Diagnostics.TraceSwitcher? Why they are using?

1091