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

What is the difference between struct and class in c#?

Answer Posted / nashiinformaticssolutions

• struct: Members are public by default.
• class: Members are private by default.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does immutable mean in c#?

957


What is polymorphism in c sharp?

989


How to find Percentage, name ,College from a resume or document ? How to export these values to other page in C#?

932


Can a struct inherit from an interface in c#?

1016


What is the purpose of ienumerable in c#?

1011


Why delegates are type safe?

922


Why does my windows application pop up a console window every time I run it?

979


What is difference between string and stringbuffer in c#?

952


Can you use all access modifiers for all types?

974


Which controls do not have events?

1027


How does bitwise xor work?

900


Can a class be protected in c#?

910


What are the types of inheritance in c#?

961


Why References are stored on heap and variables on stack?

941


Why do we need private constructor in c#?

888