Hello everyone,

I have a function that returns a hashtable. If there is a key missing from the hashtable, it needs to display (Console.WriteLine()) that the hashtable is missing a certain key.

this is 'Exit Sub' in vb.

i know its return in C#, how ever i am getting a complile error of "An object of a type convertible to 'System.Collections.Hashtable' is required".

if i do return false; i get cannot convert bool to Hashtable (makes sense...)

my my question is, how do i exit the remainder of the function?

i know i can use lable's, and would be quite happy to do so, if this is the correct way of doing this?

Thanks,
Justin