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 is parameters in c#?

883


What is the difference between Java and .NET garbage collectors?

964


What is dbml file in c#?

945


What is the difference between Decorator and Adapter pattern?

906


What does firstordefault mean in c#?

898


How to implement a singleton design pattern in c#?

816


What is main thread in c#?

857


What are the types of operator?

802


Explain the difference between “as” and “is” operators used in c#?

902


Name which controls do not have events?

983


What is disconnected data architecture in c#?

932


Explain about Serialize and MarshalByRef?

901


What is the name of c# compiler?

1075


Name the property of the textbox which cannot be changed at runtime?

912


Can an int be negative c#?

978