2 ms·
C# standard doesn't define the standard library, it only gives you the class prototypes (from pages 463-473 from what I can see) while the C++ standard does giv
by jcelerier 6y ago
C# standard doesn't define the standard library, it only gives you the class prototypes (from pages 463-473 from what I can see) while the C++ standard does give you preconditions and postconditions for every function, complexity bounds for algorithms, etc. (from pages 458 to 1609, so by far the majority of the thing). C# also does not define threads, linq, etc... which if it was C++ would all have to be defined in the standard.
If you compare only the language definition itself, C++ is actually shorter by a couple pages than C#: it ends at page 457 on the pdf:
https://isocpp.org/files/papers/N4860.pdf https://isocpp.org/files/papers/N4860.pdf