Your method is an instance method, which means you need an instance on which to run it:
using (MDMDataContext dc = new MDMDataContext())
{
GetUser user = new GetUser();
user.GetCurrentUser(dc, "ABCD");
}
The static
keyword means that the method is static, and available for the type as a whole, not tied to a specific instance. That's why you can call it using the class name (and must call it that way) when it's marked static.