Programmer Tip - Optional Parameters
Ever needed a method to work just 'slightly' different? Then C#'s optional parameters might be what you are looking for. Blog Post: bit.ly/ProgrammerTip5 #indiedev #gamedev #indiegame #indiedevhour #unitytips
Saving Re-Writing Code Since C# 4 When building your own systems, you might sometimes require a method you just made to slightly change its functionality in some cases. It might be that you wish you could provide an extra boolean or number to that method, without breaking all you have already done. In these cases, what you are looking for are optional parameters, something already built-in in C#:ā¦
View On WordPress












