[Solved] how do i use a class without instantiating it?
i would like to use it like this string role = GetRole.OfUser(username); So do so; that appears to be correct. Did you try it? or like this even better: string role = GetRole(username); That won’t work; you have to specify the method you’re calling as well as what class it comes from. If you had … Read more