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,6 @@
static void Swap<T>(ref T a, ref T b)
{
T temp = a;
a = b;
b = temp;
}

View file

@ -0,0 +1,3 @@
int a = 1;
int b = 2;
Swap(ref a, ref b); // Type parameter is inferred.

View file

@ -0,0 +1,3 @@
int a = 1;
int b = 2;
(a, b) = (b, a);