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

Why session is necessary in web application?

916


How can we pass info between 2 asp.net pages?

1012


Why SessionID changes in every request in asp.net?

921


What are client activated objects and server activated objects?

914


What is the difference between session object and application object?

1010


What is the advantage of mvc over asp.net? : Asp.Net MVC

935


Can I have a unique key as foreign key?

918


What are the Types of objects in ASP

1040


Explain the steps to be followed to use passport authentication.

996


IN an ASP.NET Web application if there is any error, how can you debug?

1017


Define a static class?

934


Describe paging in asp.net?

1098


Difference between .NET and previous version?

2530


What is a server cookie?

952


What is a web pool?

1045