When I look in the references (Object browser) in Visual Studio, I’m not able to find the Console class.
I am able to access and use the Console class when writing a console application.
Can someone please explain why this is happening? Shouldn’t it be visible in the references (object browser), when I can access it otherwise?
Thank you!
If you set the Browse combobox to .NET Framework 4 then you can find it in mscorlibb.dll and then the system namespace.
You can also right click on Console and choos ‘Go to definition’. There you will see in which dll/file it’s decleared.
Hope this helps 🙂