public override string ToString() { string ram = ""; for (int i = 0; i < ramSize; ++i) { ram += RAM[i].ToString() + " "; } return("RA: " + RA.ToString() + "[0b" + Convert.ToString(RA, 2) + ", 0x" + Convert.ToString(RA, 16) + "]" + ", RB: " + RB.ToString() + "[0b" + Convert.ToString(RB, 2) + ", 0x" + Convert.ToString(RB, 16) + "]" + ", LEAF: " + LEAF.ToString() + ", PC: " + PC.ToString() + "\nRAM: " + ram + "\nc:" + (c ? "1" : "0") + ", z:" + (z ? "1" : "0") + ", skip:" + (skip ? "1" : "0") + ", bc:" + (cbuff ? "1" : "0")); }
void copyMenu_Click(object sender, EventArgs e) { Clipboard.SetText(dec.ToString() + ", " + RA.ToString()); }
override public String ToString() { return(HR_name + "," + Proper_name + String.Format(" RA:{0},Dec:{1},mag:{2}", RA.ToString(), Dec.ToString(), Magnitude.ToString())); }