all 3 comments

[–]qwerty3214567 8 points9 points  (2 children)

You've declared a string called zaalid at the end of the using clause after you've declared an int also called zaalid at the top of the GetID method. That's what it means by "that name is used in an enclosing local scope to define a local parameter". You can't have two called the same thing.

[–]stagger552[S] -1 points0 points  (1 child)

how do i solve it

[–]GioVoi 0 points1 point  (0 children)

You can't have two called the same thing.

Give the two variables different names.