Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C# equivalent of 64-bit unsigned long long in C++

I am building a DLL which will be used by C++ using COM. Please let me know what would be the C# equivalent of C++ 64-bit unsigned long long.

Will it be ulong type in C# ? Please confirm.

Thanks, Gagan

like image 988
Gags Avatar asked Sep 17 '13 13:09

Gags


People also ask

What C is used for?

C programming language is a machine-independent programming language that is mainly used to create many types of applications and operating systems such as Windows, and other complicated programs such as the Oracle database, Git, Python interpreter, and games and is considered a programming foundation in the process of ...

What is C in C language?

What is C? C is a general-purpose programming languagegeneral-purpose programming languageIn computer software, a general-purpose programming language (GPL) is a programming language designed to be used for building software in a wide variety of application domains, across a multitude of hardware configurations and operating systems.https://en.wikipedia.org › wiki › General-purpose_programmi...General-purpose programming language - Wikipedia created by Dennis Ritchie at the Bell Laboratories in 1972. It is a very popular language, despite being old. C is strongly associated with UNIX, as it was developed to write the UNIX operating system.

Is C language easy?

Compared to other languages—like Java, PHP, or C#—C is a relatively simple language to learn for anyone just starting to learn computer programming because of its limited number of keywords.

What is C full form?

Full form of C is “COMPILE”. One thing which was missing in C language was further added to C++ that is 'the concept of CLASSES'.


2 Answers

Maybe this will help you:

  • ulong (64-bit unsigned integer)
  • double(64-bit floating-point number).
like image 139
Dzmitry Martavoi Avatar answered Oct 05 '22 08:10

Dzmitry Martavoi


For anything that goes beyond ulong, you might as well use the C# BigInteger Structure.

like image 44
HerpDerpington Avatar answered Oct 05 '22 08:10

HerpDerpington