Sollicitatievraag bij Microsoft

How would you reverse a string?

Antwoord op sollicitatievraag

Anoniem

16 nov 2016

You can use a reverse metod : from Enumerable class IEnumerable Reverse(this IEnumerable source) or you can implement a For or foreach element and create a new string in a reverse sequence.