a
a b
a b c
a b c d 
……

a b c … z

解决方案 »

  1.   

    做作业还是考试呢?using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;namespace ConsoleApplication2
    {
        class Program
        {
            static void Main(string[] args)
            {
                string a = "abcdefghijklmnopqrstuvwxyz";
                for (int i = 0; i < 26; i++)
                {
                    for (int j = 0; j <= i; j++)
                        Console.Write(a[j]);
                    Console.WriteLine();
                }
                Console.ReadKey();
            }
        }
    }
      

  2.   

    这个跟图形有嘛关系 static void Main(string[] args)
     {
         var range = Enumerable.Range(0, 26);            
         foreach (var num in range)
         {
             for (int i=0; i <= num; i++) Console.Write((Char)(97 + i));
             Console.WriteLine();
         }
         Console.Read();
     }
      

  3.   

    Console.Write(a[j] + "  ");