Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
14
Task/Show-ASCII-table/C-sharp/show-ascii-table.cs
Normal file
14
Task/Show-ASCII-table/C-sharp/show-ascii-table.cs
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
using static System.Console;
|
||||
using static System.Linq.Enumerable;
|
||||
|
||||
public class Program
|
||||
{
|
||||
static void Main()
|
||||
{
|
||||
for (int start = 32; start + 16 * 5 < 128; start++) {
|
||||
WriteLine(string.Concat(Range(0, 6).Select(i => $"{start+16*i, 3} : {Text(start+16*i), -6}")));
|
||||
}
|
||||
|
||||
string Text(int index) => index == 32 ? "Sp" : index == 127 ? "Del" : (char)index + "";
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue