How to output "EVEN" for even numbers between 1 and 100?
<p>How to write C# code that lists out object array value int 1-100 and output string text "EVEN" when it detect that object converted to int is divisible by 2?</p>

<pre><code>class Program
{
    static void Main(string[] args)
    {
       object[] numbers = new object[100];

        numbers = Enumerable.Range(1, 100).Cast&lt;object&gt;().ToArray();


        foreach (object number in numbers)
        {
            if(Convert.ToInt32(number) % 2 == 0)
            {
                number.ToString().Equals("Even");
            }
            Console.WriteLine(number);
        }
        Console.Read();
     }
}
</code></pre>