Click here to Skip to main content
15,914,419 members
Home / Discussions / C#
   

C#

 
GeneralRe: Strange IL code from simple C# expression Pin
Wjousts25-Sep-05 3:29
Wjousts25-Sep-05 3:29 
GeneralRe: Strange IL code from simple C# expression Pin
Dave Kreskowiak26-Sep-05 1:20
mveDave Kreskowiak26-Sep-05 1:20 
GeneralRe: Strange IL code from simple C# expression Pin
Wjousts26-Sep-05 6:10
Wjousts26-Sep-05 6:10 
GeneralRe: Strange IL code from simple C# expression Pin
Dave Kreskowiak26-Sep-05 13:57
mveDave Kreskowiak26-Sep-05 13:57 
GeneralRe: Strange IL code from simple C# expression Pin
Wjousts26-Sep-05 23:21
Wjousts26-Sep-05 23:21 
GeneralRe: Strange IL code from simple C# expression Pin
Dave Kreskowiak27-Sep-05 14:25
mveDave Kreskowiak27-Sep-05 14:25 
GeneralRe: Strange IL code from simple C# expression Pin
Wjousts28-Sep-05 15:35
Wjousts28-Sep-05 15:35 
GeneralRe: Strange IL code from simple C# expression Pin
Dave Kreskowiak29-Sep-05 0:29
mveDave Kreskowiak29-Sep-05 0:29 
Wjousts wrote:
No your not. Look at the original question. The question asked what is the value of i AFTER the code (all of it) has been executed.

In order to explain WHY the result of the expression is what it is, you have to look at how the expression is evaluated. This is covered in the language specs and by looking at the IL.


Wjousts wrote:
Where in the specification does it say that i++ does nothing?

I never said it "did nothing". Where on earth did you get this?


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: Strange IL code from simple C# expression Pin
Dave Kreskowiak23-Sep-05 7:46
mveDave Kreskowiak23-Sep-05 7:46 
QuestionMachine Names on Network Pin
Greeky22-Sep-05 23:11
Greeky22-Sep-05 23:11 
AnswerRe: Machine Names on Network Pin
enjoycrack23-Sep-05 1:22
enjoycrack23-Sep-05 1:22 
QuestionWeb Link in RichTextBox Pin
Greeky22-Sep-05 22:31
Greeky22-Sep-05 22:31 
AnswerRe: Web Link in RichTextBox Pin
enjoycrack23-Sep-05 1:25
enjoycrack23-Sep-05 1:25 
QuestionStraming integer values Pin
Afief22-Sep-05 22:22
Afief22-Sep-05 22:22 
QuestionMultiple Q's, Answer as many as you like. Pin
Anthony Mushrow22-Sep-05 22:07
professionalAnthony Mushrow22-Sep-05 22:07 
AnswerRe: Multiple Q's, Answer as many as you like. Pin
Niklas Ulvinge23-Sep-05 0:45
Niklas Ulvinge23-Sep-05 0:45 
QuestionCREATING AND DELETING DATABSE IN C# .NET Pin
EKJDBA22-Sep-05 22:05
EKJDBA22-Sep-05 22:05 
AnswerRe: CREATING AND DELETING DATABSE IN C# .NET Pin
sreejith ss nair23-Sep-05 2:19
sreejith ss nair23-Sep-05 2:19 
Questiondatagrid invoke and tablestyles Pin
xrado22-Sep-05 21:53
xrado22-Sep-05 21:53 
AnswerRe: datagrid invoke and tablestyles Pin
sreejith ss nair23-Sep-05 2:22
sreejith ss nair23-Sep-05 2:22 
GeneralRe: datagrid invoke and tablestyles Pin
xrado23-Sep-05 7:34
xrado23-Sep-05 7:34 
GeneralRe: datagrid invoke and tablestyles Pin
sreejith ss nair25-Sep-05 17:31
sreejith ss nair25-Sep-05 17:31 
GeneralRe: datagrid invoke and tablestyles Pin
xrado25-Sep-05 20:50
xrado25-Sep-05 20:50 
Questioni need help to fix the histogram.plz Pin
davidcooler22-Sep-05 21:19
davidcooler22-Sep-05 21:19 
AnswerRe: i need help to fix the histogram.plz Pin
Stefan Troschuetz22-Sep-05 21:51
Stefan Troschuetz22-Sep-05 21:51 

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.