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

Is collection a data structure?

898


Is c# pass by reference?

840


Explain the features of an abstract class in net.

908


What is the difference between an implicit conversion and an explicit conversion?

924


What is Custom attribute? How to create? If I'm having custom attribute in an assembly, how to say that name in the code?

884


Explain constructor in c#?

1246


Is list a collection c#?

930


Why do we need indexers in c#?

854


How many types of variables are there in c#?

909


How do I link two windows forms in c#?

878


How do you concatenate in c#?

873


Explain how to implement an object pool in c#.net

895


What is method and function in c#?

932


What is byte c#?

787


Is datetime a value type in c#?

839