Sign in to confirm you’re not a bot
This helps protect our community. Learn more
Public Variable vs Public Property - Clean Code the Right Way
46Likes
3,536Views
2017Feb 25
http://www.codingblocks.net In this video, I go over what the difference between a public property and a public variable in a class. In Episode 55 of the Coding Blocks podcast http://www.codingblocks.net/episode55 Michael and I got into a conversation about how in C# public properties act like public variables. On the link above, we had several comments on the the topic and I thought it'd be worth sharing what the differences are here so there was some clarity around the point. And, hopefully people will learn something useful along the way both in terms of what they are behind the scenes, as well as some excellent tools you can use to find out more about what your code actually does. Tools used in this video: Visual Studio 2015 - (2017 is just about to be released) - there are excellent free (community) editions of Visual Studio out there, so there's no excuse not to get started! https://www.visualstudio.com/ JetBrains ReSharper - one of the best productivity boosting extensions out there for a C# / Visual Studio developer: http://www.jetbrains.com/resharper/ ILSpy - free, open source and amazing tool for decompiling code as well as see what the IL is for the compiled code: http://ilspy.net/ Join us on Slack: http://www.codingblocks.net/slack Social ============================================= Twitter: @CodingBlocks Facebook:   / codingblocks   Podcast =========================================== iTunes: http://www.codingblocks.net/itunes Stitcher: http://www.codingblocks.net/stitcher Please Subscribe and leave a thumbs up if you found this helpful!

Follow along using the transcript.

Coding Blocks

7.27K subscribers