Code with undefined behavior in C#

后端 未结 7 749
面向向阳花
面向向阳花 2020-12-03 06:47

In C++ there are a lot of ways that you can write code that compiles, but yields undefined behavior (Wikipedia). Is there something similar in C#? Can we write code in C# th

7条回答
  •  被撕碎了的回忆
    2020-12-03 07:06

    Not really in the exactly Wiki sense but I suppose the most obvious example that comes to my mind is simply writing some threaded code, but then it's like that in any language.

提交回复
热议问题