Click here to Skip to main content
15,895,667 members
Home / Discussions / C#
   

C#

 
GeneralRe: ListView and Inserting Subitems Pin
Jon G26-Apr-04 12:59
Jon G26-Apr-04 12:59 
GeneralRe: ListView and Inserting Subitems Pin
valikac26-Apr-04 14:40
valikac26-Apr-04 14:40 
GeneralRe: ListView and Inserting Subitems Pin
osto26-Apr-04 17:17
osto26-Apr-04 17:17 
GeneralRe: ListView and Inserting Subitems Pin
valikac26-Apr-04 18:10
valikac26-Apr-04 18:10 
GeneralUsing Bitmap and got exception in dispose Pin
kobyb26-Apr-04 11:28
kobyb26-Apr-04 11:28 
Generalconditional operator (?:) performance Pin
Anonymous26-Apr-04 10:53
Anonymous26-Apr-04 10:53 
GeneralRe: conditional operator (?:) performance Pin
Daniel Turini26-Apr-04 11:21
Daniel Turini26-Apr-04 11:21 
GeneralRe: conditional operator (?:) performance Pin
Mike Dimmick26-Apr-04 23:53
Mike Dimmick26-Apr-04 23:53 
Anonymous wrote:
In VB.NET, the IIF function is 300% slower than the if...else...end if clause

A lot of this is because VB.NET implements IIf as a function in Microsoft.VisualBasic.dll, which takes two object arguments. Therefore, if you supply integer arguments, they have to be boxed (turned into an object on the heap), then VB has to unbox the result.

The ?: operator in C# is implemented directly in the language and as such doesn't require the boxing operations.

Stability. What an interesting concept. -- Chris Maunder
GeneralRe: conditional operator (?:) performance Pin
Anonymous27-Apr-04 2:49
Anonymous27-Apr-04 2:49 
GeneralDataGrid row: RowState unchange problem Pin
Chris#26-Apr-04 10:47
Chris#26-Apr-04 10:47 
GeneralRe: DataGrid row: RowState unchange problem Pin
Heath Stewart26-Apr-04 11:50
protectorHeath Stewart26-Apr-04 11:50 
GeneralRe: DataGrid row: RowState unchange problem Pin
Chris#27-Apr-04 4:49
Chris#27-Apr-04 4:49 
GeneralGarbage collector Pin
Ruchi Gupta26-Apr-04 10:39
Ruchi Gupta26-Apr-04 10:39 
GeneralRe: Garbage collector Pin
SJ_Phoenix26-Apr-04 19:16
SJ_Phoenix26-Apr-04 19:16 
GeneralRe: Garbage collector Pin
Stefan Troschuetz26-Apr-04 20:40
Stefan Troschuetz26-Apr-04 20:40 
GeneralRe: Garbage collector Pin
Mike Dimmick27-Apr-04 0:04
Mike Dimmick27-Apr-04 0:04 
GeneralRe: Garbage collector Pin
Stefan Troschuetz27-Apr-04 0:28
Stefan Troschuetz27-Apr-04 0:28 
GeneralDockable main Program Pin
camasmartin26-Apr-04 10:35
camasmartin26-Apr-04 10:35 
GeneralRe: Dockable main Program Pin
surgeproof26-Apr-04 11:18
surgeproof26-Apr-04 11:18 
GeneralSystem.Web.Services.Protocols.SoapException Pin
Code Toad26-Apr-04 9:46
Code Toad26-Apr-04 9:46 
GeneralRe: System.Web.Services.Protocols.SoapException Pin
Heath Stewart26-Apr-04 10:11
protectorHeath Stewart26-Apr-04 10:11 
GeneralRe: System.Web.Services.Protocols.SoapException Pin
Code Toad27-Apr-04 3:58
Code Toad27-Apr-04 3:58 
GeneralCustomizing Controls in c# - Help Pin
stan2826-Apr-04 9:01
stan2826-Apr-04 9:01 
GeneralRe: Customizing Controls in c# - Help Pin
Heath Stewart26-Apr-04 9:28
protectorHeath Stewart26-Apr-04 9:28 
GeneralRe: Customizing Controls in c# - Help Pin
stan2827-Apr-04 3:26
stan2827-Apr-04 3:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.