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

Why do we use dictionary in c#?

970


What is the difference between method parameters and method arguments. Give an example?

916


What is tochararray in c#?

923


Why do we use hashtable in c#?

948


What are the 2 types of data types available in c#?

881


Why do we need delegates?

856


Which attribute adorn a test class to be picked up by the NUnit GUI in the NUnit test framework?

976


What are floating point numbers?

976


Between windows authentication and sql server authentication, which one is trusted and which one is untrusted?

957


Why do canadians say zed?

996


Why are c# strings immutable?

952


Is char * null terminated?

918


What is the purpose of c#?

982


What is boolean method?

935


what is object-oriented programming (oop) language?

854