?? operand.cs
字號:
using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;
namespace syn
{
public class Operand
{
//private double _operand;
private string _operand;
public Operand(string word)
{
_operand = word;
//TypeConverter converter = TypeDescriptor.GetConverter(this._operand);
//this._operand = (double)converter.ConvertFromString(word);
}
//判斷是否是操作數
public static bool IsOperand(char ch)
{
if (char.IsLetterOrDigit(ch) || ch == '.' || ch =='_')
return true;
else
return false;
}
public override string ToString()
{
return this._operand.ToString();
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -