❔ assign a local string function to a string variable
Is something like this possible?
5 Replies
You probably want
mediaTypeCombo.Text == "mp3" ? "" : mediaTypeCombo.Text
condition ? valueIfTrue : valueIfFalse
You can do another hideous thing which actually involves anonymous functions, but don't.Or, if you really want a local function,
that works i guess
that works thanks a lot
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.