Why does the return type change depending on if I use a ternary operator or not?

Subscribers:
4,440
Published on ● Video Link: https://www.youtube.com/watch?v=ldbZrOTsCpw



The Operator
Game:
Duration: 0:00
4 views
0


Why does the return type change depending on if I use a ternary operator or not?
I hope you found a solution that worked for you :)
The Content is licensed under (https://meta.stackexchange.com/help/licensing) CC BY-SA.
Attention! This video does always use the same license as the source!
Thanks to all those great people for their contributions!

(stackoverflow.com/users/2026782/jan-zahradn%c3%adk)Jan Zahradník
(stackoverflow.com/users/3043/joel-coehoorn)Joel Coehoorn
A special thanks goes out to the (stackoverflow.com/questions/79295265/why-does-the-return-type-change-depending-on-if-i-use-a-ternary-operator-or-not)Stackexchange community

I wish you all a wonderful day! Stay safe :)
If anything is off, please write me at peter D.O.T schneider A.T ois42.de

conditional-operator c#







Other Statistics

The Operator Statistics For Peter Schneider

Currently, Peter Schneider has 227 views for The Operator across 23 videos. Less than an hour worth of The Operator videos were uploaded to his channel, less than 0.05% of the total video content that Peter Schneider has uploaded to YouTube.