It does not support Ranged-Based ForLoop in Visual Studio 2010. 
http://msdn.microsoft.com/en-us/library/vstudio/hh567368.aspx