Welcome to WebmasterWorld Guest from 184.108.40.206
Forum Moderators: ocean10000
I remember i saw somewhere a quick and dirty c# syntax, like:
(Variable(or expression i dont remeber), 1)
if it is evaluated null returns 1. has anybody bumped into this?
it has been stuck in my head all day; like a friend's name u try to remember.
[edited by: BlackTulip at 4:58 am (utc) on July 25, 2007]
o = (cond1 = cond2? truevalue : falsevalue);
If I'm wrong I'm sorry. And hopefully I'll learn something in the process. Are you having an easy time learning C#?
Most languages that I've used have the equivalent of that conditional statement. VBScript being the notable exception.