mirror of
https://github.com/PetroProtsyk/SSharp
synced 2026-06-08 12:11:10 +00:00
19 lines
285 B
Plaintext
19 lines
285 B
Plaintext
//Script.NET examples
|
|
//(c)2007-2009, Protsyk Petro, http://www.protsyk.com
|
|
|
|
v = new int[10];
|
|
for(i=0; i<v.Length; i++)
|
|
v[i] = i;
|
|
|
|
s = '';
|
|
foreach(i in v)
|
|
s = s + i + ' ';
|
|
|
|
|
|
a = new List<|string|>[10];
|
|
|
|
a[0] = new List<|string|>();
|
|
a[0].Add('Hello');
|
|
|
|
b = a[0].ToArray();
|
|
c = b[0]; |