Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Game_snake
//Rextester.Program.Main is the entry point for your code. Don't change it. //Microsoft (R) Visual C# Compiler version 2.9.0.63208 (958f2354) using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using System.Drawing; using System.Windows.Forms; namespace Rextester { public partial class Form { int len; Point []p; int direction; public Form() { InitializeComponent(); len=5; p= new Point[200]; direction=3; for(int i =0; i<5;i++) { p[i].X=100; p[i].X=100+i*10; } } private void Panel_Paint(object sender, PaintEventArg e) { for(int i =198; i>0;i-) { p[i+1].X=p[i].X; p[i+1].Y=p[i].Y; } } } public class Program { public static void Main(string[] args) { //Your code goes here Console.WriteLine("Hello, world!"); } } }
run
|
edit
|
history
|
help
0
asxasxdf
exception implicit toString
extrefGenerate
C
concurrentStack
3
Longest Substring Without Repeating Characters
Cast int to enum in C#
saved
Test