help
Root Question Message
using System;
namespace Main {
class Program {
static void Main(string[] args) {
int a = 12;
int b = 21;
Console.WriteLine("a: {0} || b: {1}", a, b);
Console.WriteLine("a: {0} || b: {1}", a, b);
}
unsafe void Swap(int* a, int* b) {
int temp;
temp = *b;
*b = *a;
*a = *b;
}
}
}
Unsafe code may only appear if compiling with /unsafe
(a, b) = (b, a)
out
keyword is also marshalled the same as a parameter return type