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

925


Explain use of abstract and sealed classes in c#?

858


What is nameof c#?

905


Describe the types of comments in c#?

905


What is parameter c#?

1041


What are the 2 broad classifications of fields in c#?

928


What is the data encapsulation?

890


What is the purpose of dictionary in c#?

898


What do you mean by winforms in c#?

969


Can we store different data types in arraylist in c#?

907


Is list immutable in c#?

878


What is cshtml extension?

954


What are callback methods in c#?

929


What is default boolean value in c#?

970


What is the use of functional interface?

921