18 строки
350 B
C#
18 строки
350 B
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
using Foundation;
|
|
|
|
namespace MySimpleApp {
|
|
public class Program {
|
|
static int Main (string [] args)
|
|
{
|
|
GC.KeepAlive (typeof (NSObject)); // prevent linking away the platform assembly
|
|
|
|
Console.WriteLine (Environment.GetEnvironmentVariable ("MAGIC_WORD"));
|
|
|
|
return args.Length;
|
|
}
|
|
}
|
|
}
|