static void Main(string[] args)
        {
            Cup c = new Cup();

            Fill(c);

            Console.WriteLine(c.filled);

            Console.ReadKey();
        }
 static void Fill(Cup c)
 {
     c.filled = true;
 }