Click here to Skip to main content
15,898,222 members
Home / Discussions / C#
   

C#

 
AnswerRe: Stack and Heap Pin
Richard MacCutchan7-Jul-16 20:14
mveRichard MacCutchan7-Jul-16 20:14 
AnswerRe: Stack and Heap Pin
OriginalGriff7-Jul-16 20:42
mveOriginalGriff7-Jul-16 20:42 
QuestionStringbuilder printing "System.Collections.Generic.List" instead of the string item in the list, why? Pin
Member 122479807-Jul-16 3:56
Member 122479807-Jul-16 3:56 
AnswerRe: Stringbuilder printing "System.Collections.Generic.List" instead of the string item in the list, why? Pin
Eddy Vluggen7-Jul-16 4:03
professionalEddy Vluggen7-Jul-16 4:03 
AnswerRe: Stringbuilder printing "System.Collections.Generic.List" instead of the string item in the list, why? Pin
Matt T Heffron7-Jul-16 7:35
professionalMatt T Heffron7-Jul-16 7:35 
QuestionHow to convert .docx file to .html with image and equation Pin
Member 44636384-Jul-16 5:32
Member 44636384-Jul-16 5:32 
AnswerRe: How to convert .docx file to .html with image and equation Pin
Eddy Vluggen4-Jul-16 6:27
professionalEddy Vluggen4-Jul-16 6:27 
AnswerRe: How to convert .docx file to .html with image and equation Pin
Kimberly Weldon5-Jul-16 1:13
Kimberly Weldon5-Jul-16 1:13 
AnswerRe: How to convert .docx file to .html with image and equation Pin
koolprasad20036-Jul-16 18:21
professionalkoolprasad20036-Jul-16 18:21 
Questionsimulate Alt+Shift in all objects of project C# Pin
hahaie3-Jul-16 22:22
hahaie3-Jul-16 22:22 
AnswerRe: simulate Alt+Shift in all objects of project C# Pin
OriginalGriff3-Jul-16 22:50
mveOriginalGriff3-Jul-16 22:50 
Questionhow to sum time in grid view footer c# Pin
Member 125037693-Jul-16 20:06
Member 125037693-Jul-16 20:06 
QuestionRe: how to sum time in grid view footer c# Pin
Richard MacCutchan3-Jul-16 22:05
mveRichard MacCutchan3-Jul-16 22:05 
AnswerRe: how to sum time in grid view footer c# Pin
Member 125037693-Jul-16 23:11
Member 125037693-Jul-16 23:11 
GeneralRe: how to sum time in grid view footer c# Pin
Richard MacCutchan3-Jul-16 23:20
mveRichard MacCutchan3-Jul-16 23:20 
QuestionC# - New to programming! Stuck! Can someone help explain this code? Pin
Member 126152642-Jul-16 4:21
Member 126152642-Jul-16 4:21 
AnswerRe: C# - New to programming! Stuck! Can someone help explain this code? Pin
Dave Kreskowiak2-Jul-16 5:15
mveDave Kreskowiak2-Jul-16 5:15 
Why not step through the code in the debugger and examine the variable contents after each line of code?

About the only two things that might confuse you are the method header where you have int y = 2 and the result *= x; line.

The method header sets a default value of 2 for y if the caller doesn't provide a 2nd parameter in the method call.

The result line is a shortcut that expands to
C#
result = result * x;

A guide to posting questions on CodeProject

Click this: Asking questions is a skill.
Seriously, do it.

Dave Kreskowiak

AnswerRe: C# - New to programming! Stuck! Can someone help explain this code? Pin
Richard MacCutchan2-Jul-16 5:17
mveRichard MacCutchan2-Jul-16 5:17 
AnswerRe: C# - New to programming! Stuck! Can someone help explain this code? Pin
BillWoodruff3-Jul-16 1:55
professionalBillWoodruff3-Jul-16 1:55 
AnswerRe: C# - New to programming! Stuck! Can someone help explain this code? Pin
koolprasad20036-Jul-16 18:38
professionalkoolprasad20036-Jul-16 18:38 
QuestionLoading a type dynamically Pin
Super Lloyd1-Jul-16 18:42
Super Lloyd1-Jul-16 18:42 
AnswerRe: Loading a type dynamically Pin
Eddy Vluggen2-Jul-16 0:50
professionalEddy Vluggen2-Jul-16 0:50 
AnswerRe: Loading a type dynamically Pin
BillWoodruff3-Jul-16 1:58
professionalBillWoodruff3-Jul-16 1:58 
GeneralRe: Loading a type dynamically Pin
Super Lloyd3-Jul-16 2:25
Super Lloyd3-Jul-16 2:25 
QuestionSplit Excel Workbook to sheets Pin
Magic19041-Jul-16 9:05
Magic19041-Jul-16 9:05 

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.