Question: 8. what is the difference between ref and out parameters?
Answer: ref specifies that the value is a reference that has a value, and whose value you can change inside the method. out parameters are initialized by the method called, ref parameters are initialized before calling the method.