![](https://img-blog.csdnimg.cn/20190918140145169.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
.NET
介绍c#的语法和一些使用经验
GAMESLI-GIS
web3D 图形学爱好者 BJFU GIS硕
展开
-
【c#】IEnumerator 和 yield
迭代器是一个可以逐个访问集合中元素的方法或属性。在C#中,实现迭代器的常见方法是通过实现IEnumerable和IEnumerator接口。然而,这种方法可能会涉及大量的样板代码来维护状态和位置。原创 2024-05-17 10:21:39 · 244 阅读 · 0 评论 -
【dotnet】Unity 两种打包方式解析(IL2CPP Mono)
unity原创 2022-09-03 22:40:33 · 4475 阅读 · 0 评论 -
【dotnet】dotnet和mono及跨平台实现原理及案例(重要)
c#原创 2022-09-03 15:51:11 · 927 阅读 · 0 评论 -
【c#】继承
C# 继承原创 2022-12-22 16:45:11 · 54 阅读 · 0 评论 -
【c#】线程Monitor.Wait和Monitor.Pulse使用
getConnection的时候,如果队列中connection个数小于50,且暂时无可用的connection(个数为0或者peek看下头部需要先出那个元素还处于不可用状态),就新建连接并建立连接,开始一直新建到50个connection,就是_currentPoolSize =50。如果队列中connection个数大于等于50,且暂时无可用的connection(个数为0或者peek看下头部需要先出那个元素还处于不可用状态),就等着。以一个简易版的数据库连接池的实现来说明一下。原创 2023-10-08 16:56:34 · 346 阅读 · 0 评论 -
【c#】多线程
c# task原创 2022-12-24 21:13:18 · 287 阅读 · 0 评论 -
【c#】IEnumerable、IEnumerator 迭代器
unity 协程原创 2022-09-07 14:32:50 · 530 阅读 · 0 评论 -
【c#】集合
c# 集合原创 2022-09-06 15:03:19 · 97 阅读 · 0 评论 -
【c#】多态
c# 基础 多态原创 2022-12-18 18:02:54 · 74 阅读 · 0 评论 -
【c#】委托
unity事件原创 2022-09-05 22:55:51 · 256 阅读 · 0 评论 -
【c#】Unity协程
unity原创 2022-09-13 10:14:45 · 1249 阅读 · 0 评论 -
【c#】.net和cpp互操作
unity c#原创 2023-05-29 10:26:12 · 178 阅读 · 0 评论 -
【c#】发展史
c#原创 2023-02-09 15:21:38 · 62 阅读 · 0 评论