C# Good Practices in 10 minutes
By Charlin Agramonte
Charlin Agramonte
Mobile Developer
Microsoft MVP
Co-Founder Crossgeeks
Co-organizer .Net Dominicana
xamgirl.com
C# Good Practices
TIP 1
Use Inline Logics
“Inline logics evaluate and return result with in single line”
Example 1
Example 2
Example 3
Example 4
Example 5
TIP 2
Use String Interpolation
“String interpolation is used to insert dynamic values at runtime in string of text”
Example 1
Example 2
TIP 3
Avoid redundant code
Example 1
Example 2
Example 3
TIP 4
Avoid magic values
Example 1
Example 2
Microsoft Learn
Scan QR code or https://dotnet.microsoft.com/learn/csharp
Download this presentation here: https://github.com/dotnethaiti/launch-_event
Email: charlin@crossgeeks.com
Twitter: chard003
Blog: www.xamgirl.com
Thanks!

C#good practices in 10 minutes