1. Comparison of constants, read-only fields, static fields and static read-only fields
1 public class ModelClass
2 {
3 //The constant must be assigned an initial value when it is define
1. Comparison of constants, read-only fields, static fields and static read-only fields
1 public class ModelClass
2 {
3 //The constant must be assigned an initial value when it is define
Implementation of Cache We are not doing a third-party cache implementation such as Redis, but according to the actual situation, we will save some environment variables based on C# to facilitate t
1. Download the spoon package and driver
The spoon package I use, including spoon7.1, Mysql driver and Oracle driver
link: https:// pan.baidu.com/s/16Q-iUNB7qGU0xlKbGTw-vg Extraction code: q9h5
If you have installed an Oracle database or oracle client locally, you can use its own Oracle driver,
///
/// Replace illegal characters in the file name with other characters of the same type
///
///
///
public string ReplaceFileName(string name)
{
name = name.Replace(“/”, “/”);
The C# program always fails the verification when sending the RSA-encrypted password to the backend. I use wireshark to capture packets and find that the + signs in the password sent by POST have b
One day, the user table in the production environment suddenly locked the table for no reason. I thought it was just an occasional bug. So the first solution that came to my mind was simple and rud
List< /span> List T is the element type in the list, compile The browser will check if the element type you add to the list is correct. If it is not correct, an error will be reported. In other wor
1 using System;
2 public class MyDate{
3 private int month,day,year;
4 public MyDate(int _month=1,int _day= 1,int _year=1900 ){
5 bool ok=true;
6 if(_month>12 || _month<1 || _year<0 || _
Standard numeric format string https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/standard-numeric-format-strings
https://docs.microsoft.com/zh-cn/dotnet/standard/base-types/composit
1. Introduce the corresponding module
const express = require(‘express’)
// Create server express module, express framework coexists with native API , So you can use any native method attrib