Similar function charAt of Java in C#
<p>I have Java code</p>

<p>string[] elementMath = { something }</p>

<pre><code>elementMath[i].charAt(0);
</code></pre>

<p>In C# , i have try with</p>

<pre><code>elementMatn[i][0];
</code></pre>

<p>But it will give me error</p>