摘要:
官网:https://cap.dotnetcore.xyz 相关介绍 CAP 是一个EventBus,同时也是一个在微服务或者SOA系统中解决分布式事务问题的一个框架。它有助于创建可扩展,可靠并且易于更改的微服务系统。 在微软的 eShop 微服务示例项目中,推荐使用 CAP 作为生产环境可用的 E 阅读全文
摘要:
public async Task<ActionResult> GetData() { var data = (from leftdata in GetLeft() join rightdata in GetRight() on leftdata.Id equals rightdata.Id int 阅读全文
摘要:
public class ArrayClass { public ArrayClass() { array = new int[10] { 1, 2, 3, 4, 5, 7, 1, 2, 3, 4 }; list = new List<int>(); LinkedList = new LinkedL 阅读全文
摘要:
定义 public interface ICar { public void Drive(); } public class XiaoMiCar : ICar { public void Drive() { Console.WriteLine("正在驾驶小米汽车"); } } public clas 阅读全文
摘要:
定义 public interface ITraffic { void Drive(); } public class Car : ITraffic { public void Drive() { Console.WriteLine("车在陆地行驶"); } } public class Ship 阅读全文