Add tags

Add tags to the following comment

実質一行になるように書いてみました。

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
using System;
using System.Linq;

class Program
{
    static void Main(string[] args)
    {
        int count = args.Length != 0 ? int.Parse(args[0]) : 4;
        Enumerable.Concat(Enumerable.Range(1, count), Enumerable.Range(1, count - 1).Reverse()).Select(n => new string('*', n)).ToList().ForEach(Console.WriteLine);
    }
}

Add tags

The input will be splited to tags with space.

Index

Feed

Other

Link

Pathtraq

loading...