C# Telnet class library code Today I installed a solid-state notebook for the notebook. The speed increase is obvious. I am very happy to send a Weibo as a souvenir. Self-taught C#, network, want t
Tag: C #
C # Run the WinForm program as an administrator
Excerpted from: https://www.cnblogs.com/yuluo/p/5718057.html
The WinForm client developed recently for customers, part of it In the process of use, an error message of “system file not found”
[C #] Exclude no need to incorporate the trading query, avoid unnecessary decentralized transactions (Distributed Transaction)
When the distributed transaction mechanism is accidentally enabled, and the environment setting does not allow it, it will generate [Disabled Distributed Transaction Manager (MSDTC) network access.
C # Read and write files When the file is used by another process, so the process cannot access the file.
Now you need to read the log file and display it in the log query, and you need to use the IO stream.
1,
FileStream fs = File.OpenRead(url);
StreamReader sr = new StreamReader((System.
C # – WeChat public platform interface – upload temporary material
Return: http://blog.niunan.net/blog/show/1212
The most annoying thing to do on WeChat public platform. . The document is unclear, and there is no sample code. I can only search slowly by myse
C # format data string.format
[C #] [Windows API] Mouse Cursor Mobile, Hide, Get
[C#][Windows API] Mouse cursor move, hide, get position
For the native method declarations used in the following examples, please refer to [Common Windows Native Methods Organizing (Windows A
C # generics
Generic allows you to delay writing the specification of the data type of the programming element in the class or method until it is actually used in the program. In other words, generics allow you
[C #] Simple and fast to convert various numeric words to numbers (String to int)
I believe that when you are writing programs, you must have a lot of opportunities to convert numeric strings into int or float type values, but the numeric characters may not be very clean, someti
C # data type (2)
String char a collection of string name = “John Doe”; Double quotes, char is a single quote
string is immutable, once it is initialized, it cannot be changed. Every time you use the existing string