System C# by API

using System;
using System.Collections;
class MainClass
{
    public static void Main()
    {
        Console.WriteLine("Logical Drives");
        foreach (string drive in Environment.GetLogicalDrives())
            Console.WriteLine("    {0}", drive);
        
    }
}