A local declared within a type is only used within that method or function and can only be accessed elsewhere only if it is returned as part of a function say.
As far as I know you can't declare locals in a type, but fields technically are locals, how you're thinking anyways.