Initial data commit

This commit is contained in:
Ingy döt Net 2023-07-01 11:58:00 -04:00
parent 72d218235f
commit f23f22d71c
199087 changed files with 3378941 additions and 0 deletions

View file

@ -0,0 +1 @@
readonly DateTime now = DateTime.Now;

View file

@ -0,0 +1 @@
const int Max = 100;

View file

@ -0,0 +1,3 @@
public void Method(in int x) {
x = 5; //Compile error
}

View file

@ -0,0 +1,4 @@
public void Method() {
const double sqrt5 = 2.236;
...
}

View file

@ -0,0 +1 @@
public string Key { get; }

View file

@ -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; }
}

View file

@ -0,0 +1,4 @@
public struct Vector
{
public readonly int Length => 3;
}