Hi folks after some long time of being absent I got some simple questions:

How would the following vb code look c#???

Dim n(10 To 20) As Long

Ah and yeah, just another one, how would I translate the following (I have some small clue but i'm not sure at all):

Code:
Private Declare Function RegOpenKeyEx Lib "advapi32.dll" Alias "RegOpenKeyExA" (ByVal hKey As Long, ByVal lpSubKey As String, ByVal ulOptions As Long, ByVal samDesired As Long, phkResult As Long) As Long
Thanks a lot