How do you pass basic types by reference?
In the case of basic types like bool, int, uint, etc. you can in fact choose among the two forms. If you prefix the method parameter in the method definition with a star, then it will be passed by reference (modifications persist). Or else, it will be passed by value.