Here is a meaningless extension method as an example:
public static class MyExtensions { public static int MyExtensionMethod(this MyType e) { in
Quite simply, yes. A static method only means that the method can be called without an object. The local variables within the method are still local.