Problems differentiating between static and non-static class fields with the same name.

I'm fully aware that it's bad practice to have static and non-static fields with the same name, but I stumbled across this issue while testing out a problem with a friend. Could someone please explain to me why what I'm trying to achieve doesn't work?

Thank you, I appreciate it.

by Matthew_Chr via /r/csharp

Leave a Reply