+ 1

Help with data types please

I know the basic built in data types (int, string,char,bool,float, double) but when I looked up some codes online I saw stuff like "long",etc. so can anybody explain other data type ,please?

14th Aug 2018, 5:50 AM
Muhammad Abu Baker
Muhammad Abu Baker - avatar
2 Antworten
+ 1
May be in C++ long is a modifier. In C# long is a built-in data type and .NET CTS type is System.Int64, i. e. size of long is 8 bytes. To see all built-in types, please refer to the link below https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/built-in-types-table
19th Aug 2018, 9:08 AM
Roman Khristoforov
Roman Khristoforov - avatar
+ 1
Muhammad Abu Baker what ever you have mentioned are built in data types.. long is not data type but it is data modifier....this modifies capabilities of built in data type to hold size of data
14th Aug 2018, 5:58 AM
Ketan Lalcheta
Ketan Lalcheta - avatar