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

why we can't create an object for a static class??
what is the reason behind this?

Answer Posted / rahul

Because static method will have defined / stored entry point.
so while calling it , it's entry point is sufficient , without creating an object.
that's why no need to create object

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many bytes is a long c#?

987


Can c# inherit multiple classes?

994


Can we create instance of private class in c#?

952


What is interface inheritance in c#?

967


What is the syntax for calling an overloaded constructor within a constructor?

1000


Why does dllimport not work for me?

1105


What is linq c#?

917


What is dapper in c#?

1027


Describe the ways of cleaning up objects in c#.

944


What are the differences between events and delegates in c#?

1022


What are All kind of access specifiers for a class and for methods

1123


What is static void main in c#?

1061


What are generics in c#.net?

1063


What are delegates and why are they required?

1046


Can we inherit static class in c#?

1033