Earlier quoted context omitted.
If you have visual studio it tells you what the var is.
So, where do I get a version fo Visual Studio that’s open source, and works on Linux? And not just the little text editor VS Code, a real IDE? For most devs, Visual Studio isn’t a realistic option.
Project Rider by Jetbrains is a cross platform C# IDE.
VS Code has some tooling.
etc...