如果把第一个{0}改成{1},第二个{1}改成{0},其他不变,输出就会把性别放置前面,姓名放在后面,类似于把后面的变量看成数组,{}填入数字作为下标
2019-03-17
最新回答 / weixin_慕盖茨3053807
using System;using System.Collections.Generic;using System.Text;namespace Test{ class Program { static void Main(string[] args) { int a=8; int b=6; string test=a>b ? "a":"b"; Console.Wri...
2019-03-13