"ref"keyword will refer to the memory location, so its "Reference Type".

"out"refers to the value assigned to the variable, so its the "Value Type"
Mark as answer, if helpful,