• 1.7k
  • 236
  • 17.9k

private ListView TestList = new ListView();

Jul 23 2018 6:50 AM
Hi team
i am able to run below code in c# winform 
private ListView TestList = new ListView(); 
but same code i trying copy and build c# console it giving me  below error 
Error CS0246 The type or namespace name 'ListView' could not be found (are you missing a using directive or an assembly reference?) 
which namespace and reference need to add 

Brought to you by: JavaScript SDK for Bold BI dashboard and analytics embedding. Free trial.

Answers (1)