#include "stdafx.h"
using namespace System;
int main()
{
String^ str = "A quick sly fox jumped over the lazy brown dog.";
array^ character_array = str->ToCharArray();
Console::WriteLine( str);
for (int i = 0; i < character_array->Length; i++)
{
if ( character_array[i] >= L'a' && character_array[i] <= 'z')
{
character_array[i] -= (L'a' - L'A');
}
}
str = gcnew String(character_array);
Console::WriteLine( str);
}