I'm pretty new in C#. working with charts and trying to remove the Markers from my plotted lineseries.

here is the code:

   private void LoadLineChartData()

Java
 { LineSeries ls1 = new LineSeries();         ls1.Title = "Title1";         ls1.IndependentValueBinding = new Binding("Key");         ls1.DependentValueBinding = new Binding("Value");          ls1.ItemsSource = new KeyValuePairint, int>[]{ new KeyValuePairint,int>(1, 100), new KeyValuePairint,int>(2, 130), new KeyValuePairint,int>(3, 150), new KeyValuePairint,int>(4, 125), new KeyValuePairint,int>(5,155) }; MyChart.Series.Add(ls1);         ls1.MarkerStyle = MarkerStyle.None; }
Code
VB.NET
It doesn't work and here is the error: 'System.Windows.Controls.DataVisualization.Charting.LineSeries' does not contain a definition for 'MarkerStyle' and no extension method 'MarkerStyle' accepting a first argument of type '
Do I use a wrong .dll as the reference for charting? what is the right one?