Created
September 18, 2014 15:21
-
-
Save NikitaShkaruba/8321abec08937e675892 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace SharpGL_EZ | |
{ | |
public class Fruct | |
{ | |
public Random dice = new Random(); | |
public int x, y; | |
public Fruct() | |
{ | |
x = dice.Next(); | |
y = dice.Next(); | |
} | |
} | |
public partial class MainWindow : Window | |
{ | |
public Fruct[] f = new Fruct[10]; | |
static void main() | |
{ | |
for (int i = 0; i < 15; i++) | |
f[i] = new Fruct(); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment