how can I refer to a static method wothout prefixing it with class name ?
Visual Studio 2005 C#
This is my class below. I want to go AddNumbers(10,20); from anywhere in the solution instead of
public class Test
public static int AddNumbers (int x, int y)
return x + y;
Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!