Struct/method in x++