c-example

C++ code posted by WongleDongle
created at 19 Dec 00:06, updated at 23 Dec 16:48

Edit | Back
1
2
3
4
5
6
7
8
9
10
11
12
13
  static void Main(string[] args)
        {
            // Declare a Unity Container
            var unityContainer = new UnityContainer();
            unityContainer.LoadConfiguration();

            IoCService service = new IoCService(unityContainer.Resolve<ExternalServiceInterface>());

            service.GetStrings().ToList().ForEach(Console.WriteLine);

            auto ptr = std::make_unique<string>("flippo");
            std::vector<int> test;
        }
477 Bytes in 2 ms with coderay