I'm new to C#. This piece of code works fine and needs no explicit cast in
vb.net.
itemId = arrCart(cartId, i)
When I converted it to C#, it complained that it cannot do the implicit
conversion. So I tried:
itemId = (int)arrCart[cartId, i];
But I get an exception error read: Specified cast is not valid.
Can anyone tell me how to correct this?