私はADO.NETを学んでいて、今はSqlDataReaderを理解しようとしています。私はこのチュートリアルを使用して学習しようとしていますが、ここに記載されているコードの次の部分を理解するのにいくつかの困難に直面しています。
while (rdr.Read())
{
// get the results of each column
string contact = (string)rdr["ContactName"];
string company = (string)rdr["CompanyName"];
string city = (string)rdr["City"];
// print out the results
Console.Write("{0,-25}", contact);
Console.Write("{0,-20}", city);
Console.Write("{0,-25}", company);
Console.WriteLine();
}
「{0、-25}」の意味を理解したい