Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Creating arrays
//Title of this code //Rextester.Program.Main is the entry point for your code. Don't change it. using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { int size = 3; Array array = Array.CreateInstance(typeof(int), size); int[] values = (int[])array; Console.WriteLine(values.Length); Console.WriteLine(string.Join(",",values)); Console.WriteLine(values[2]); } } }
run
|
edit
|
history
|
help
0
Game_snake
Store reference to a object
PolyMorphism
Singleton Design Pattern
Simple StackOverflowException
Class Objects
CommandForce1
xml
Exp Regular
lambda funcs C#