Replies: 1 comment
-
If anyone finds more, PRs are welcome. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm relatively new to C# and I'm trying to follow .NET naming best practices. I noticed that in the IDataTemplate sample, the private field is named _SelectedShape with a capital 'S'.
According to Microsoft's naming conventions, private fields should use camelCase (with a leading underscore if preferred), so it should probably be _selectedShape instead.
I don't mean to be nitpicky at all — it's just something that stood out to me while learning, and I wanted to make sure I'm understanding the conventions correctly. Could you please let me know if I'm on the right track?
Thanks for the great samples! 😊
MainWindowViewModel.cs
Beta Was this translation helpful? Give feedback.
All reactions