Questions tagged [instance-reference]
2 questions
0
votes
2 answers
Cannot be accessed with an instance reference after code conversion
I have the following code which was created after using the telerik code converter to translate a piece of legacy code into C# but it is yielding the error
Error 473 Member 'System.Xml.XmlWriter.Create(System.IO.Stream,…

Jay
- 3,012
- 14
- 48
- 99
0
votes
1 answer
members cannot be accessed with an instance reference
Why I've got this error by code below on bold lines?
Member IocContainer.ShowWeatherDetailViewModel (and IocContainer.ShowWeatherViewModel) cannot be accessed with an instance reference; qualify it with a type name instead.
error code:…

H. Pauwelyn
- 13,575
- 26
- 81
- 144