Click here to Skip to main content
15,890,973 members
Home / Discussions / C#
   

C#

 
Questionsize=new size() and form.width/height assignment fail to change form size Pin
Sebastian Schneider6-Feb-06 5:17
Sebastian Schneider6-Feb-06 5:17 
AnswerRe: size=new size() and form.width/height assignment fail to change form size Pin
Stanciu Vlad6-Feb-06 5:32
Stanciu Vlad6-Feb-06 5:32 
GeneralRe: size=new size() and form.width/height assignment fail to change form size Pin
Sebastian Schneider6-Feb-06 10:35
Sebastian Schneider6-Feb-06 10:35 
GeneralRe: size=new size() and form.width/height assignment fail to change form size Pin
Stanciu Vlad6-Feb-06 10:49
Stanciu Vlad6-Feb-06 10:49 
QuestionWeird C# String Behavior Pin
malharone6-Feb-06 4:39
malharone6-Feb-06 4:39 
AnswerRe: Weird C# String Behavior Pin
Joe Woodbury6-Feb-06 4:52
professionalJoe Woodbury6-Feb-06 4:52 
AnswerRe: Weird C# String Behavior Pin
Judah Gabriel Himango6-Feb-06 4:55
sponsorJudah Gabriel Himango6-Feb-06 4:55 
GeneralRe: Weird C# String Behavior Pin
malharone6-Feb-06 5:15
malharone6-Feb-06 5:15 
Judah Himango wrote:
The JIT may do this to save memory

Eventhough this seems like a large overhead as the compiler/runtime would have to check if the string is loaded or not, I'd have expected some documentation for this in the string class.


Judah Himango wrote:
ILDasm or Reflector to disassemble your code and check out what's going on.


Doesnt seem to be the case.

And if that were the case, compiler optimization would not even perform the equality check. It'd simply just return 'true'.

- Malhar
GeneralRe: Weird C# String Behavior Pin
Judah Gabriel Himango6-Feb-06 5:18
sponsorJudah Gabriel Himango6-Feb-06 5:18 
GeneralRe: Weird C# String Behavior Pin
malharone6-Feb-06 5:29
malharone6-Feb-06 5:29 
GeneralRe: Weird C# String Behavior Pin
Judah Gabriel Himango6-Feb-06 7:15
sponsorJudah Gabriel Himango6-Feb-06 7:15 
AnswerRe: Weird C# String Behavior Pin
leppie6-Feb-06 5:16
leppie6-Feb-06 5:16 
GeneralRe: Weird C# String Behavior Pin
malharone6-Feb-06 5:36
malharone6-Feb-06 5:36 
AnswerRe: Weird C# String Behavior Pin
Nish Nishant6-Feb-06 6:06
sitebuilderNish Nishant6-Feb-06 6:06 
GeneralRe: Weird C# String Behavior Pin
malharone6-Feb-06 6:20
malharone6-Feb-06 6:20 
GeneralRe: Weird C# String Behavior Pin
Daniel Grunwald6-Feb-06 6:55
Daniel Grunwald6-Feb-06 6:55 
GeneralNoooo! Pin
leppie6-Feb-06 7:49
leppie6-Feb-06 7:49 
QuestionWierdness trying to use a class library in a service Pin
ByStorm Software6-Feb-06 4:22
ByStorm Software6-Feb-06 4:22 
AnswerRe: Wierdness trying to use a class library in a service Pin
Joe Woodbury6-Feb-06 4:54
professionalJoe Woodbury6-Feb-06 4:54 
AnswerRe: Wierdness trying to use a class library in a service Pin
leppie6-Feb-06 7:57
leppie6-Feb-06 7:57 
GeneralRe: Wierdness trying to use a class library in a service Pin
ByStorm Software6-Feb-06 9:48
ByStorm Software6-Feb-06 9:48 
QuestionXsltArgumentList doesn't accept long parameter values Pin
mikko laanti6-Feb-06 4:21
mikko laanti6-Feb-06 4:21 
AnswerRe: XsltArgumentList doesn't accept long parameter values Pin
leppie6-Feb-06 5:21
leppie6-Feb-06 5:21 
QuestionAdd to favourites Pin
Brendan Vogt6-Feb-06 3:51
Brendan Vogt6-Feb-06 3:51 
Questionstatus bar Pin
Kola Sokol6-Feb-06 3:41
Kola Sokol6-Feb-06 3:41 

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.