public static bool testMethod() { MyStruct test = new MyStruct(); if (test.intRet() == 1) { return true; } else { return false; } }