写出下面程序的执行结果。 class Program { static void Main(string[] args) { user[] s2 = new
写出下面程序的执行结果。 class Program { static void Main(string[] args) { user[] s2 = new user[2]; for (int i = 1; i <= s2.length; i++) s2[i - 1]="new" user("章", "00000" + i.tostring()); string str="用户\n" ; foreach (user s in s2) username "+" s. password "\n"; console.writeline(str); } user { public username; password; user(string username, password) this.username="userName;" this.password="password;">