How to use a variable from another method - C#