Why is ask() loaded even if I didn't call it in main?
<p>I have this program where the ask() function is called even if I didn't call it as shown in my main function.</p>

<pre><code>static void Main(string[] args)
        {
            Console.Write("Charlie: " + resp());
            Thread.Sleep(2000);
            Console.Write(askBack());

            Console.ReadKey();

        }

        public static string ask()
        {
            string userInput = "";

            Console.Write("You: ");
            userInput = Console.ReadLine();

            return userInput;
        }
</code></pre>

<p>Here's resp():</p>

<pre><code>public static string resp()
            {
                Connect connect = new Connect();
                string throwResponse = "";

                if (connect.openConnection() == true)
                {

                    string respond = @"SELECT answer FROM response WHERE question=@_userInput";
                    MySqlCommand cmd = new MySqlCommand(respond, connect.connection);
                    cmd.Parameters.AddWithValue("@_userInput", ask());
                    cmd.ExecuteNonQuery();
                    throwResponse = Convert.ToString(cmd.ExecuteScalar());
                }         

                return throwResponse;
            }
</code></pre>

<p>And when I do call it, it prints "You: " twice.</p>
