Say you have a .NET Core project that looks like this:
public class Foo
public static void Blah()
At the top of your editor should be the navigation bar. Left in the navigation bar is a dropdown menu that lets you select the context.
If the navigation bar is hidden, you can enable it by going into Tools > Options > Text Editor > C# and check the navigation bar checkbox.