https://www.cnblogs.com/zmztya/p/9577440.html
1. Run cmd as an administrator
2. Install windows service
cd C:\Windows\Microsoft.NET\Framework\v4.0.30319 (The path of InstallUtil.e
C# is an object-oriented high-level programming language that runs on the .NET Framework released by Microsoft. C# is a safe, stable, simple, elegant, object-oriented programming language derived from C and C++. It inherits the powerful functions of C and C++ while removing some of their complex features (such as no macros and no multiple inheritance). C# combines the simple visual operation of VB and the high operating efficiency of C++. With its powerful operating capabilities, elegant syntax style, innovative language features and convenient component-oriented programming support, it has become the preferred language for .NET development.
https://www.cnblogs.com/zmztya/p/9577440.html
1. Run cmd as an administrator
2. Install windows service
cd C:\Windows\Microsoft.NET\Framework\v4.0.30319 (The path of InstallUtil.e
Dealing with integer overflow is a common task, but what is the best way to deal with it in C#? Are there some syntactic sugars that are simpler than other languages? Or is this really the best way
Recently received a request. A friend’s office needs to make an outpatient call number. The process is as follows: the patient selects a doctor-swipes the ID card to queue-the doctor clicks on the
Original text: A line of code in C# realizes the conversion of 18-digit digital timestamp to DateTime
The time stamp data accessed is:
636728674347302002
How to convert it to Date
public ActionResult Index(
{
CRMEntities db = new CRMEntities();
EasyUIJsonTree root = new EasyUIJsonTree()
Menu
Menu
“Root” menu Trees> list = db.Trees.ToList();
if (list != null && list.C
I encountered a bug that has not been resolved by scratching the earplug for a long time. It is necessary to record it.
Now I use a multi-dimensional list.
IListint>> list = new Listint
Send keyboard messages 1 [DllImport(“user32.dll”, EntryPoint = “keybd_event”, SetLastError = true)]
2 public static extern void keybd_event(
3 byte bVk, //Virtual key value
4 byte bScan,// Gene
I (believe) I am connecting data binding validation in a textbook way, but it doesn’t work at all.
In the debugger, forever The Validate(object value, CultureInfo cultureInfo) method will not
Summary: Detailed explanation of the DateTime.Now function of C#
??? //April 24, 2008
??? System.DateTime.Now.ToString( “D”);
??? //2008-4-24
??? System.DateTime.Now.ToString(“d”);
??? //
//IEnumerable QOld = vDTOld.AsEnumerable().ToList(); ////Compare the intersection of two data sources //IEnumerable QJJ = vDTOld.Asnum (DTNew.AsEnumerable(), DataRowComparer.Default); ////The inter