MSDN RyuJIT blog entry给出了设置 CTP3 的说明:
Tricky thing necessary until RyuJIT is final: Add a reference to Microsoft.Numerics.Vectors.Vector to a class constructor that will be invoked BEFORE your methods that use the new Vector types. I’d suggest just putting it in your program’s entry class’s constructor. It must occur in the class constructor, not the instance constructor.
我在 Objective-C 中的类/实例构造比在 C# 中精通得多。他是在谈论一个不同的概念吗? C# 中的类构造函数和实例构造函数有什么区别?在这种情况下,“类构造函数”只是无参数构造函数吗?
最佳答案
我认为这是指静态构造函数
关于C# 类和实例构造函数,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23483285/