
c#技巧与进阶
南国韭菜
吃饭第一。
展开
-
c# 四种委托的区别【delegate 、action、func和predicate 】
c# 四种委托的区别和基础应用。原创 2022-02-07 21:12:13 · 3808 阅读 · 0 评论 -
c# XML-RPC 客户端和服务端的搭建-示例及资源
c# XML-RPC 客户端和服务端的搭建客户端服务端可参考资源客户端using CookComputing.XmlRpc;using System;namespace BM.Leader.Net{ public struct StateStructRequest { public int state1; public int state2; public int state3; } [XmlRpcUrl("ht原创 2021-10-21 11:56:21 · 1216 阅读 · 0 评论 -
c#自定义Attribute模拟JAVA的Annotation实现属性xml的读取
c#使用Attribute模拟JAVA的Annotation实现属性xml的读取声明用法1. 实现自定义Attribute2.标注我们的配置文件3.配置文件示例4.核心处理函数5.使用它声明突发奇想的一个处理问题的方法,好不好用不用就仁者见仁智者见智了。用法1. 实现自定义Attributenamespace 秃顶韭菜的命名空间{ public class XmlMapping : Attribute { /// <summary> /原创 2021-09-27 14:24:25 · 376 阅读 · 0 评论