2022-04-25 17:56:52 +03:00
|
|
|
using System;
|
|
|
|
using System.Runtime.InteropServices;
|
|
|
|
|
|
|
|
using Foundation;
|
|
|
|
|
2022-11-21 11:45:49 +03:00
|
|
|
namespace MySimpleApp {
|
|
|
|
public class Program {
|
|
|
|
static int Main (string [] args)
|
2022-04-25 17:56:52 +03:00
|
|
|
{
|
|
|
|
GC.KeepAlive (typeof (NSObject)); // prevent linking away the platform assembly
|
|
|
|
|
|
|
|
Console.WriteLine (Environment.GetEnvironmentVariable ("MAGIC_WORD"));
|
|
|
|
|
|
|
|
return args.Length;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|