![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
CSharp
EasonDongH
这个作者很懒,什么都没留下…
展开
-
重写Equals、==的区别
以C#为例。重写Equals的基本原则:同一性:x.Equals(x)为true,通过ReferenceEquals(this, obj)实现;自反性:x.Equals(y) == y.Equals(x),通过this.GetType() == obj.GetType()判断类型是否相同,再进一步对属性进行判断;传递性:If x.Equals(y) == true && ...原创 2019-07-02 10:19:59 · 179 阅读 · 0 评论 -
C# 搭建FTP通讯 包括客户端服务器端
这里将使用在Winform平台上搭建FTP的通讯。项目源码客户端using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.IO;using System.Net;using FTP.Model;using System.Threading.Task...原创 2019-09-09 09:02:34 · 4833 阅读 · 14 评论