use systemclass Binary{public static void main() {int x,y,result;x = 7;y = 5;result = x + y;Console.writeline("x+y: {0}",result);}}我在PDG電子書中看到這種寫法,請問{0}是什么???有什么作用?。吭皆敿氃胶媚苷f清楚一點嗎?我學(xué)C#等于是從0開始學(xué),一點都不懂那第二個參數(shù)是不是就應(yīng)該把{0}改成{1}了呢?如果是這樣的話,那它算不算是數(shù)組呢?不要這個可行呢?Convert.Tostring是什么???麻煩各位,因為我實在是不知道
- 2 回答
- 0 關(guān)注
- 2212 瀏覽
添加回答
舉報
0/150
提交
取消