static void Main(string[] args){string[] friendNames = { "Robert Barwell","Mike Parry","Jeremy Beacock" };int i;Console.WriteLine("Here are {0} of my friends:",friendNames.Length);for (i = 0; i < friendNames.Length; i++){Console.WriteLine(friendNames

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/05 17:32:41
static void Main(string[] args){string[] friendNames = {
xOKAƿ˞Vn^:Q_mPgev)d DJKMz+4mޙ<>3z9bZĢ80h2մ8ed ϛ>q,CJh:ؠ$4r b8- +B DdLAFT0i1ǩ1PU6%*pȶl1dykߧ *k@AeF>{l<cU𖫈m. S}P/pIv+< #D^>h [)Q'8mN܋ΉxHbZ}փ͞}-&Od-ۗCf>(W

static void Main(string[] args){string[] friendNames = { "Robert Barwell","Mike Parry","Jeremy Beacock" };int i;Console.WriteLine("Here are {0} of my friends:",friendNames.Length);for (i = 0; i < friendNames.Length; i++){Console.WriteLine(friendNames
static void Main(string[] args)
{
string[] friendNames = { "Robert Barwell","Mike Parry","Jeremy Beacock" };
int i;
Console.WriteLine("Here are {0} of my friends:",friendNames.Length);
for (i = 0; i < friendNames.Length; i++)
{
Console.WriteLine(friendNames[i]);
}
Console.ReadKey();

static void Main(string[] args){string[] friendNames = { "Robert Barwell","Mike Parry","Jeremy Beacock" };int i;Console.WriteLine("Here are {0} of my friends:",friendNames.Length);for (i = 0; i < friendNames.Length; i++){Console.WriteLine(friendNames
就是写出你朋友的数量和各个名字,你运行一次就知道了.
你的朋友是:"Robert Barwell","Mike Parry","Jeremy Beacock"
数量是friendNames.Length