トルネード

毛利のメモ書き

2018-11-02から1日間の記事一覧

C# Console 文字列右詰め左スペース

C#

Console.WriteLine("{0}", ((int)1).ToString().PadLeft(10)); PadLeft()を使う。