Is this an abuse of 'dynamic'?
<p>Is the following use of 'dynamic', in the method IsUnixNewline, good or bad?</p>

<pre><code>using System;

class Program
{
    static void Main()
    {
        byte[] bytes = { 32, 32, 32, 10 };
        string text  = "hello\n";

        for (int i = 0; i &lt; bytes.Length; ++i) {
            if (IsUnixNewline(bytes, i)) {
                Console.WriteLine("Found Unix newline in 'bytes'.");
                break;
            }
        }

        for (int i = 0; i &lt; text.Length; ++i) {
            if (IsUnixNewline(text, i)) {
                Console.WriteLine("Found Unix newline in 'text'.");
                break;
            }
        }
    }

    static bool IsUnixNewline(dynamic array, int index)
    {
        return array[index] == '\n' &amp;&amp; (index == 0 || array[index - 1] != '\r');
    }
}
</code></pre>
