Easy Type Conversion With C# Implicit Operators - Code Available!
April 14, 2023
• 1,095 views
c#.netc# tutorialdotnetdotnet coredotnet core tutorialdotnet core c#c# dotnet corec# programminglearn c#csharpC# operatorC# operatorsC# operator overloadingimplicit operatorC# implicit operatortype conversionC# type conversionhow to convert types in C#C# multiple typestype casting C#cast type C#type conversion C#implicit operators dotnet.net operatorsconvert types dotnetconvert types .nethow to codecode examples
In this video, we walk through an example of how you can make use of implicit operators in C# dotnet. The use case will be creating an object that can hold either one of two types, but never both, and that this object can easily be converted between the two types in question.
Want the source for this video? Check it out here:
https://github.com/ncosentino/NexusLabs.Framework/blob/master/NexusLabs.Framework/TriedEx.cs
For more videos on programming with detailed examples, check this out:
https:...
