I hate arrays! I have no idea how to create them or use them :/
So I wonder if you could help me...
I've got a basic understanding of arrays in Small Basic which I'm learning at school at the moment but Small Basic really limits you on what you can do since it's such a high level language.
I'm currently making a conjugator for verbs in Spanish using strings and arrays..
Could you help and translate this Small Basic code into C#?
Here is the code:
irrVerbPreterit["ser"] = "ser"
irrVerbPreterit["ser"]["verb1stpreterit"] = "fui"
irrVerbPreterit["ser"]["verb2ndpreterit"] = "fuiste"
irrVerbPreterit["ser"]["verb3rdpreterit"] = "fue"
irrVerbPreterit["ser"]["verb4thpreterit"] = "fuimos"
irrVerbPreterit["ser"]["verb5thpreterit"] = "fuisteis"
irrVerbPreterit["ser"]["verb6thpreterit"] = "fueron"
Also how would I look to see if a verb was in an array? In Small Basic I have...
If(Array.ContainsIndex(irrVerbPresent, verb)) Then
Would be great if you could help me do this!
Kind Regards, ~Ben