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

Example of value type and refarnce type

Answer Posted / neerajtyagi

---Value Types (C# Reference)

The value types consist of two main categories:

Structs

Enumerations

Structs fall into these categories:

Numeric types

Integral types

Floating-point types

decimal

bool

User defined structs.


------Reference Types (C# Reference)

Variables of reference types, referred to as objects, store
references to the actual data. This section introduces the
following keywords used to declare reference types:

class

interface

delegate

This section also introduces the following built-in
reference types:

object

string

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are custom attributes in c#?

876


How do you specify a custom attribute for the entire assembly (rather than for a class)?

949


Explain About Global.asax

953


What is garbage collector and where should you use in .NET?

983


What is difference between array and list?

926


Can you prevent a class from being instantiated?

990


Can you pass parameters to destructors?

1040


In object oriented programming, how would you describe encapsulation in c#?

957


What is the purpose of the integer parse method the decimal parse method?

1102


Can a struct inherit from an interface in c#?

1005


What is a .aspx file?

863


What is c-sharp (c#)?

943


Explain the difference between .net and c#?

930


What are the advantages of using assemble language programming?

934


What are concrete classes?

883