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

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

974


What is better C# or VB.NET?

943


What is the use of oops in c#?

909


What do you mean by “finalize” and “finally” methods in c#?

905


Can we write class inside a class in c#?

964


What is ado c#?

951


What is nullable types in c#?

974


Explain clr in brief.

951


How is a loop recorder monitored?

930


Where value types are stored in c#?

934


What is typeof c#?

955


what is method overloading in c#?

1051


What is a copy constructor in c#?

992


How do I create a single-file assembly?

1015


What does console readline do?

871