🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.pl.comp.lang.csharp
Article #131

if... else... inaczej

#131
From: S³awomir Partyka
Date: Tue, 07 Oct 2003 17:56
10 lines
1349 bytes
Witam,

Programuj� w VFP8. Jest tam funkcja IIF(wyra�enie, warto��1, warto��2),
kt�ra zwraca warto��1 je�li wyra�enie=true i warto��2 je�li wyra�enie=false.
Czy jest co� takiego w C#? Stosowanie w takim przypadku if... else... wydaje
mi si� troszk� za d�ugie.
Oczywi�cie mog� sam napisa� tak� funkcj� ale mo�e ju� jest? :-)

Pozdrawiam :-)
SP
Technical Details
Message-ID: <bluup2$1rc1$1@news.mm.pl>
Path: mbox-mo1.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.tpinternet.pl!news.task.gda.pl!news.mm.pl!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.tpinternet.pl!news.task.gda.pl!news.mm.pl!not-for-mail
From: S³awomir Partyka <slawomir.par...@ecg.com.pl>
Newsgroups: alt.pl.comp.lang.csharp
Subject: if... else... inaczej
Date: Tue, 7 Oct 2003 19:56:55 +0200
Organization: Multimedia Polska sp. z o.o.
Lines: 12
Message-ID: <bluup2$1rc1$1@news.mm.pl>
NNTP-Posting-Host: host-62-141-252-110.gorzow.mm.pl
X-Trace: news.mm.pl 1065549410 60801 62.141.252.110 (7 Oct 2003 17:56:50 GMT)
X-Complaints-To: ab...@multimedia.pl
NNTP-Posting-Date: Tue, 7 Oct 2003 17:56:50 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit