摘要:
在C#中,如果类A是类A1的基类,你可以使用LINQ的Cast方法将List<A1>的值赋给List<A>的变量。以下是一个示例代码: ```csharpList<A1> listA1 = new List<A1>();// 假设listA1已经有一些A1的实例 List<A> listA = li 阅读全文
posted @ 2023-09-21 17:59
China Soft
阅读(93)评论(0)推荐(0)
摘要:
https://github.com/ViewFaceCore/ViewFaceCore using SkiaSharp; using System.Diagnostics; using System.Drawing; using ViewFaceCore.Core; using ViewFaceC 阅读全文
posted @ 2023-09-18 23:15
China Soft
阅读(113)评论(0)推荐(0)