Skip to content

Instantly share code, notes, and snippets.

@jagregory
Created June 26, 2010 23:04
Show Gist options
  • Save jagregory/454425 to your computer and use it in GitHub Desktop.
Save jagregory/454425 to your computer and use it in GitHub Desktop.
Why does the C# form create a window 700px wide, while the Ruby form opens with the default 300px?
public class Form1 : Form
{
public Form1()
{
Width = 700;
}
}
class Form1 < Form
def initialize
width = 700
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment