Click here to Skip to main content
15,903,362 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to save with unique ID Pin
HosamAly20-Sep-08 3:42
HosamAly20-Sep-08 3:42 
AnswerRe: How to save with unique ID Pin
#realJSOP20-Sep-08 9:47
professional#realJSOP20-Sep-08 9:47 
QuestionDid the compiler inline my method? Pin
HosamAly20-Sep-08 2:05
HosamAly20-Sep-08 2:05 
AnswerRe: Did the compiler inline my method? Pin
User 665820-Sep-08 2:41
User 665820-Sep-08 2:41 
JokeRe: Did the compiler inline my method? Pin
Pete O'Hanlon20-Sep-08 3:28
mvePete O'Hanlon20-Sep-08 3:28 
GeneralRe: Did the compiler inline my method? Pin
User 665820-Sep-08 3:53
User 665820-Sep-08 3:53 
GeneralRe: Did the compiler inline my method? Pin
Paul Conrad20-Sep-08 10:33
professionalPaul Conrad20-Sep-08 10:33 
QuestionRe: Did the compiler inline my method? Pin
HosamAly20-Sep-08 3:30
HosamAly20-Sep-08 3:30 
Well, thanks a lot. But since, I'm very concerned about performance, I'd appreciate more of your expertise. There are some methods that I'm writing just for modularity reasons. Each is just a single line of code. For example:
class X {
    public int Value { get { return getExternalValue(); } }
    private int getExternalValue() {
        // call another method in just one line
    }
}
I am thinking that the JIT should be intelligent enough to actually inline both methods. But is this assumption true? Or should I inline the method myself?

Many thanks to all helpful guys here in CP!
I really appreciate your help. Rose | [Rose]
Know me better
AnswerRe: Did the compiler inline my method? Pin
User 665820-Sep-08 4:00
User 665820-Sep-08 4:00 
AnswerRe: Did the compiler inline my method? Pin
Guffa20-Sep-08 4:37
Guffa20-Sep-08 4:37 
GeneralRe: Did the compiler inline my method? Pin
HosamAly20-Sep-08 4:47
HosamAly20-Sep-08 4:47 
GeneralRe: Did the compiler inline my method? Pin
Guffa20-Sep-08 13:17
Guffa20-Sep-08 13:17 
QuestionEasy to learn WSDL and SOAP tutorial Pin
George_George20-Sep-08 1:26
George_George20-Sep-08 1:26 
Questionchecking who is online in gmail in c# Pin
Mogaambo20-Sep-08 1:16
Mogaambo20-Sep-08 1:16 
AnswerRe: checking who is online in gmail in c# Pin
Harvey Saayman20-Sep-08 9:50
Harvey Saayman20-Sep-08 9:50 
GeneralRe: checking who is online in gmail in c# Pin
Mogaambo20-Sep-08 10:43
Mogaambo20-Sep-08 10:43 
GeneralRe: checking who is online in gmail in c# Pin
Harvey Saayman20-Sep-08 10:48
Harvey Saayman20-Sep-08 10:48 
GeneralRe: checking who is online in gmail in c# Pin
Mogaambo20-Sep-08 10:51
Mogaambo20-Sep-08 10:51 
GeneralRe: checking who is online in gmail in c# Pin
Harvey Saayman20-Sep-08 10:53
Harvey Saayman20-Sep-08 10:53 
GeneralRe: checking who is online in gmail in c# Pin
Pete O'Hanlon20-Sep-08 10:59
mvePete O'Hanlon20-Sep-08 10:59 
GeneralRe: checking who is online in gmail in c# Pin
Mogaambo20-Sep-08 11:11
Mogaambo20-Sep-08 11:11 
GeneralRe: checking who is online in gmail in c# Pin
Pete O'Hanlon20-Sep-08 11:33
mvePete O'Hanlon20-Sep-08 11:33 
GeneralRe: checking who is online in gmail in c# Pin
Mogaambo20-Sep-08 11:20
Mogaambo20-Sep-08 11:20 
QuestionHow can i create the registries ? Pin
maifs20-Sep-08 1:05
maifs20-Sep-08 1:05 
QuestionMarshal.Copy Pin
HosamAly20-Sep-08 1:01
HosamAly20-Sep-08 1:01 

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.