Skip to content

Commit fb7ee20

Browse files
committed
🎉
0 parents  commit fb7ee20

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

array.csx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
var x = Array.CreateInstance(
2+
elementType: typeof(int),
3+
lengths: new[] {5},
4+
lowerBounds: new[] { -2 });
5+
x.SetValue(-2, 1);
6+
Console.WriteLine(x.GetValue(-2));

dynamic.csx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
var d = new { Name = "Two", age = 0 };
2+
Console.WriteLine(d.GetType().GetProperty("Name").GetValue(d, null));

guid.csx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Console.WriteLine(Guid.NewGuid());

0 commit comments

Comments
 (0)