A considerable part of a coding standard for C or C++ could be condensed into a single rule, avoid undefined behavior, and maybe shun implementation defined behavior. Officially C# does not exhibit any of these, barring a few minor, well-defined exceptions. Most examples of undefined behavior in C++ will cause an exception to be thrown in C#. Although this is an improvement on the “anything might happen” of C++, it is highly undesirable for post-release software.
Apr
17
Coding Standard: C#
Comments (1)
C Sharp
-
April 17th, 2008 at 07:40 10
Am an It student in need to learn on cprogramming














