Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
|
|
@ -0,0 +1 @@
|
|||
readonly DateTime now = DateTime.Now;
|
||||
|
|
@ -0,0 +1 @@
|
|||
const int Max = 100;
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
public void Method(in int x) {
|
||||
x = 5; //Compile error
|
||||
}
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
public void Method() {
|
||||
const double sqrt5 = 2.236;
|
||||
...
|
||||
}
|
||||
|
|
@ -0,0 +1 @@
|
|||
public string Key { get; }
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
public readonly struct Point
|
||||
{
|
||||
public Point(int x, int y) => (X, Y) = (x, y);
|
||||
|
||||
public int X { get; }
|
||||
public int Y { get; }
|
||||
}
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
public struct Vector
|
||||
{
|
||||
public readonly int Length => 3;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue