Why this code is giving error : Name Dictionary does not exist in the namespace xmlns:scg="clr-namespace:System.Collections.Generic;assembly=mscorlib" .
<Window x:Class="Test.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:sys="clr-namespace:System;assembly=mscorlib"
xmlns:scg="clr-namespace:System.Collections.Generic;assembly=mscorlib"
xmlns:test="clr-namespace:Test"
Title="MainWindow" Height="350" Width="525">
<Window.Resources>
<scg:Dictionary x:Key="CountryPopulRecords" TypeArguments="sys:String,sys:String"></scg:Dictionary>
</Window.Resources>
<Grid>
</Grid>
</Window>
Reference : MSDN