[VB] Information.UBound(byte_0, 1);//从1开始
[C#] byte_0.GetUpperBound(0)//从0开始
[VB] Operators.CompareString
[C#] string.Compare
[VB] Conversion.Hex(
[C#] String.Format("{0:X}",
[VB] Strings.Mid(a,1,1)//从1开始
[C#] a.Substring(0, 1)//从0开始
[VB] Strings.Len(a)
[C#] a.Length
[VB] Strings.UCase(a)
[C#] a.ToUpper()
[VB] Conversions.ToUShort(
[C#] Convert.ToUInt16(
///凑合者用
[VB] Conversion.Val(
[C#] Convert.ToDouble("1235");
[VB] Conversion.Val("&H" +
[C#] Int32.Parse("FF", System.Globalization.NumberStyles.HexNumber);
[VB] Strings.Asc("A")
[C#] Convert.ToInt32('A')
[VB] Strings.Chr()
[C#] Convert.ToChar()
ushort aa = 1;
[VB] Strings.Format(aa, "000")
[C#] aa.ToString("000");
已有 3648 位网友参与,快来吐槽:
发表评论