EF (Education First) Interview Question

How to reverse an arbitrary string in a method?