Pergunta de entrevista da empresa Microsoft

Reverse the string

Respostas da entrevista

Sigiloso

12 de mar. de 2012

using System; using System.Linq; namespace LinkeListShuffle { class Program { static void Main() { const string givenString = "one one two two three four"; var reversedString = string.Join(" ", (givenString.Split(' ').Reverse())); Console.WriteLine(reversedString); } } }

Sigiloso

18 de mar. de 2012

Dude they are not testing you to see if you know how to use built in functions