answersLogoWhite

0


Best Answer

In C#, data types can be categorised as

  1. Value Types.
  2. Reference Types.

Value Types

Variables defined from Value Types store values. Copying one value type caribale tp another, doesn't affect the priginal vraible.

They can be further categorised into: -

1) structs: - They can be numeric (int, float, decimal), bool, user-defined structs.

2) Enumerations: - They consist of a set of named constants. By default the first enumerator has value=0.

Reference Types

These objects store references to the actual data. These can be categorised into: -

1) Classes: -- They encapsulate data and its functionality into a single entity called OBJECT.

2) Interfaces: - These are used to declare the signatures, blurprints of methods, delegates and events.

3) Delegates: - These contain the addresses/references to a method.

For more information refer to related links.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

14y ago

boolean byte double integerlong single string currency dateobject variant

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

there are three data type ic c language. they are,

1.primary data type:

a.integer type

b.floating point type

c.character type

d.void type

2.derived data type

eg; array, pointer

3.userdefined data type

eg; structer and union

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

Primitive C++ data types:

unsigned short int

short int

unsigned long int

long int

int

unsigned int

char

wchar_t

bool

float

double

long double

All other types, including struct and class types, are user-defined types, some of which are provided by your IDE and third-parties, all of which are based upon some combination of the above primitives.

This answer is:
User Avatar

User Avatar

Wiki User

8y ago

Fundamental types in C:

  • Boolean type (bool)
  • Character types (char)
  • Integer types (int)
  • Floating-point types (float, double)
  • A type to signify the absence of information (void)

From these we can construct other types:

  • Pointer types (such as int*)
  • Array types (such as char[])

In addition, a user can define additional types:

  • Data structures
  • Enumerations

The boolean, character and integer types are collectively known as the integral types.

The integral and floating-point types are collectively known as the arithmetic types.

The fundamental types and pointers are collectively known as the built-in types.

Enumerations and structures are collectively known as user-defined types.

Arrays can be constructed from user-defined types as well as built-in types.

The short, long, signed and unsigned types are actually modifiers rather than types. However, if a type is not specified, the int type is assumed (a long is really a long int). The signed and unsigned modifiers can also be applied to char types. The long modifier can also be applied to the double type.

All other built-in types (such as wchar_t, size_t, ptrdiff_t, and so on) are merely aliases for existing built-in types. For instance, size_t is typically defined as being an alias for unsigned short int.

This answer is:
User Avatar

User Avatar

Wiki User

13y ago

Same as c language.there are 3 types of data types.they INT,CHAR,FLOAT.

hey double is also a basic data type in C++

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

currency

single

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the different types of data types used in c.net?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What are different data types used in 8087 programming?

Abstract,etc


Why are bar graphs used for certain types of data?

A bar graph is used to show different totals in different categories.


What does data storage mean?

Data storage is the term for saving data by a computer or device. Different types of data storage work differently in a computing environment. Data storage is used to store data such as documented files, databases and for personal uses such as music and photos. Different types of data are stored in different places, depending on the type of data it is.


Name the different types of coaxial cables used for data communications in a lan?

xvbsbg


What types of data used in algorithm?

Whatever data you need. If you need the algorithm to operate with many different types of data, and you are programming in C++, you could use generic programming practices and use templates.


What are data integration tools used for?

Data integration tools are used to help combine different types of data from multiple sources into one file. The tool may also help to distribute the data to your users.


What are the 2 types of data allowed in QBASIC?

the two types of data used in Qbasic is numeric data and alpha numeric data.


What are data types in a database?

They are types of data used in a field for example Text, Currencey ect


What are There are five types of data that are used in quality auditing?

The five types of data used in quality auditing are qualitative data, quantitative data, categorical data, attribute data, and continuous data. These types of data help auditors assess the effectiveness of quality management systems and identify areas for improvement.


What is datatype.Define various types of data types?

In c language data types are used to specify the tye of data.for ex:int a;It means "a" is a variable of type integer.There are two types of data types in c.They areprimary data typessecondary data typesprimary data types are the built in data types and secondary data types are the user defined data types.eg for primary data types are int,float,char,long,double..and for secondary are arrays,structures,pointers,unions..


Which types of data organizers is best used to present data that deals with frequency?

histogam


What is the select element?

To retrieve or modify data in the database query are used. There are four types of commands in SQL. Select command is data retrieval language command and is used to retrieve data from a database.In database there Four types of languages which contains various commands. Select command is the only command that is used for retrieval of data.