摘要: class TaskDelayTest { Stopwatch sw = new Stopwatch(); public void DoRun() { Console.WriteLine($"Caller:Before call."); ShowDelayAsync(); //ShowDelay() 阅读全文
posted @ 2022-10-21 17:41 double64 阅读(195) 评论(0) 推荐(0)
摘要: interface IMyifc<T> { T ReturnValue(T v); } class MyClass : IMyifc<int>, IMyifc<string> { public int ReturnValue(int v) { return v; } public string Re 阅读全文
posted @ 2022-10-21 10:40 double64 阅读(85) 评论(0) 推荐(0)
摘要: class IA_TEST { interface ITest { void Test(); } abstract class IATest : ITest { public abstract void Test(); } class MyTest : IATest { public overrid 阅读全文
posted @ 2022-10-21 09:53 double64 阅读(48) 评论(0) 推荐(0)
摘要: C# Async 方式 简单的流程测试: 去上班 吃早餐 上班中... 摸鱼 下班 using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Ne 阅读全文
posted @ 2022-10-21 09:45 double64 阅读(109) 评论(0) 推荐(0)