Object Arrays in Console Application
<p>I want to create an array of users in a console app but cant seem to get it right, can anyone please help, here is my code.</p>

<pre><code>class Program
{
    static void InputUser(User U)
    {           
        Console.WriteLine("Please enter a User:");
        Console.WriteLine("User ID:");
        U.ID = int.Parse(Console.ReadLine());
        Console.WriteLine("Titel:");
        U.Titel = Console.ReadLine();
        Console.WriteLine("Name:");
        U.Name = Console.ReadLine();
        Console.WriteLine("Surname:");
        U.Surname = Console.ReadLine();
        Console.WriteLine("Telephone Number:");
        U.Telephone = int.Parse(Console.ReadLine());
        Console.WriteLine();
    }

    static void Main()
    {
        User[] users = new User[2]
        { 
            InputUser(new User); 
        }           
    }                    
}
</code></pre>
