Skip to content

Instantly share code, notes, and snippets.

@jskeet
Created February 23, 2023 07:15
Show Gist options
  • Save jskeet/d386ea0f2872490861863d05ea3a4c14 to your computer and use it in GitHub Desktop.
Save jskeet/d386ea0f2872490861863d05ea3a4c14 to your computer and use it in GitHub Desktop.
using System;
using System.Text;
public class Program
{
static void Main()
{
var builder = new StringBuilder();
for (int i = 0; i < 256; i++)
{
byte b = (byte) i;
char c = (char) b;
builder.Append(c);
}
Console.WriteLine(builder.ToString());
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment