定义接口
public interface IMyInterface
{
int MyProperty { get; set; }
void MyMethod();
}
实现类
internal class MyClass : IMyInterface
{
public int MyProperty { get; set; }
public void MyMethod()
{
Console.WriteLine("MyMethod is called");
}
}
目录结构















![[项目详解][boost搜索引擎#2] 建立index | 安装分词工具cppjieba | 实现倒排索引](https://i-blog.csdnimg.cn/direct/572c7984df9d4a75acc2e60977a66813.png)



