+ 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?
2 Respostas
+ 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
+ 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