예제 #1
0
    static async void Process()
    {
        IImagePathFinder finder = new ImagePathFinder("/Users/leonid/Downloads");
        await finder.FindAsync();
        foreach (var item in finder.Result)
        {
            Console.WriteLine(item);
        }

        System.Console.WriteLine("Hello world");
        System.Console.WriteLine("Mish commit");
        System.Console.WriteLine(Factorial(5));
        Console.WriteLine(FactorialPy("1.py", "5"));

    }
예제 #2
0
    static async void Process()
    {
        IImagePathFinder finder = new ImagePathFinder("/Users/leonid/Downloads");
        await finder.FindAsync();

        foreach (var item in finder.Result)
        {
            Console.WriteLine(item);
        }
        List <Car> cars = Car.GetCars();

        foreach (Car item in cars)
        {
            Console.WriteLine($"{item.Title} ");
        }
    }