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

Can we make a class with class with same;suppose
public class abc
{
public class abc
{
}
}

Answer Posted / phani

No, We can't make a class with same.
We will get error as: Member name can't be same as their
enclosed types

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you enable impersonation in the web.config file?

1145


how can create login from create and written conde in asp.net

2431


Where viewstate value is stored in asp.net?

1086


What is difference between asp state management and asp.net state management? How can we pass info between 2 asp.net pages?

976


What is the difference between visual basic and asp.net?

1047


What is autopostback in asp net?

1036


Explain the server control events of asp.net ?

998


How do you create a master page?

1038


What role “#&&” plays in a querysting?

1014


Explain a program using razor view engine to create a simple application? : asp.net mvc

1005


What are the main differences between asp and asp.net?

1047


What is a master page and what does it do?

926


Can you explain composite pattern?

1030


How does windows service lifecycle differ from a .standard. Exe?

1031


How can you ensure a permanent cookie?

1005