- 博客(3)
- 收藏
- 关注
原创 构造函数
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace ztc{ public class Classtest { public int a; public string name; private int b = 10; private float velocity = 5; public void Study() { ztc.Classtest p =
2020-07-30 16:41:56 76
原创 AutoResetEvent线程阻碍
using System.Threading; public class Foo { public Foo() { } static AutoResetEvent _Second = new AutoResetEvent(false); static AutoResetEvent _Third = new AutoResetEvent(false); public void First(Action printFirst) { // printFirst() outputs "f
2020-07-16 17:31:13 81
原创 Socket单次连接
using System; using System.Net; using System.Net.Sockets; using System.Text; namespace TCP客户端 { class Program { static void Main(string[] args) { Socket tcpClient = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); IPAddress ipad
2020-07-03 19:28:17 131
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人