MSDN中关于CLSCompliantAttribute Class 有如下的例子,
using System;
[assembly:CLSCompliant(true)]
用google找一下,同时也看见这样的写法,
// Assembly marked as CLS compliant. [assembly: CLSCompliantAttribute(true)]
CLSCompliantAttribute和CLSCompliant有什么区别?还是根本没有区别呢?
网上没有找到相应的说法,谁来给我个说法?