public class MyClass
{
public void MyMethod()
{
// 執行一些操作
}
public int MyProperty { get; set; }
}
public interface IMyInterface
{
void MyMethod();
}
public struct MyStruct
{
public int MyProperty;
}
namespace MyNamespace
{
public class MyClass
{
// 類的定義
}
}
[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("MyOtherAssembly")]