Click here to Skip to main content
15,889,876 members
Home / Discussions / C#
   

C#

 
GeneralRe: signalR client server stops working after DNS-ip record for server changed Pin
impeham5-Feb-19 6:47
impeham5-Feb-19 6:47 
AnswerRe: signalR client server stops working after DNS-ip record for server changed Pin
Dave Kreskowiak5-Feb-19 4:06
mveDave Kreskowiak5-Feb-19 4:06 
GeneralRe: signalR client server stops working after DNS-ip record for server changed Pin
impeham5-Feb-19 6:44
impeham5-Feb-19 6:44 
GeneralRe: signalR client server stops working after DNS-ip record for server changed Pin
Dave Kreskowiak5-Feb-19 7:10
mveDave Kreskowiak5-Feb-19 7:10 
Questionarrays Pin
Member 141391973-Feb-19 22:21
Member 141391973-Feb-19 22:21 
AnswerRe: arrays Pin
Pete O'Hanlon3-Feb-19 22:40
mvePete O'Hanlon3-Feb-19 22:40 
GeneralRe: arrays Pin
Member 141391973-Feb-19 22:54
Member 141391973-Feb-19 22:54 
AnswerRe: arrays Pin
OriginalGriff4-Feb-19 0:05
mveOriginalGriff4-Feb-19 0:05 
So read the values from the user in a loop (Prompt him for each year's data), convert it to an integer:
C#
string numberAsString = "12345";
int numberAsInteger;
if (!int.TryParse(numberAsString, out numberAsInteger))
   {
   // Bad input!
   Console.WriteLine("{0} is not a number!", numberAsString);
   }
else
   {
   starved[i++] = numberAsInteger;
   }

Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!

GeneralRe: arrays Pin
Member 141391974-Feb-19 0:43
Member 141391974-Feb-19 0:43 
GeneralRe: arrays Pin
OriginalGriff4-Feb-19 0:46
mveOriginalGriff4-Feb-19 0:46 
GeneralRe: arrays Pin
Pete O'Hanlon4-Feb-19 1:19
mvePete O'Hanlon4-Feb-19 1:19 
Questionhow to get the corresponding y values for given x values from the chart series Pin
Mohamed Fahad3-Feb-19 21:54
Mohamed Fahad3-Feb-19 21:54 
SuggestionRe: how to get the corresponding y values for given x values from the chart series Pin
Richard MacCutchan3-Feb-19 22:21
mveRichard MacCutchan3-Feb-19 22:21 
AnswerRe: how to get the corresponding y values for given x values from the chart series Pin
Eddy Vluggen3-Feb-19 22:42
professionalEddy Vluggen3-Feb-19 22:42 
AnswerRe: how to get the corresponding y values for given x values from the chart series Pin
Jeff_T_12344-Feb-19 5:49
Jeff_T_12344-Feb-19 5:49 
AnswerRe: how to get the corresponding y values for given x values from the chart series Pin
Gerry Schmitz4-Feb-19 6:47
mveGerry Schmitz4-Feb-19 6:47 
Questionthe timer is slowed Pin
Mohamed Fahad3-Feb-19 0:57
Mohamed Fahad3-Feb-19 0:57 
AnswerRe: the timer is slowed Pin
Eddy Vluggen3-Feb-19 1:27
professionalEddy Vluggen3-Feb-19 1:27 
GeneralRe: the timer is slowed Pin
Mohamed Fahad3-Feb-19 1:42
Mohamed Fahad3-Feb-19 1:42 
GeneralRe: the timer is slowed Pin
Eddy Vluggen3-Feb-19 1:44
professionalEddy Vluggen3-Feb-19 1:44 
GeneralRe: the timer is slowed Pin
OriginalGriff3-Feb-19 1:59
mveOriginalGriff3-Feb-19 1:59 
GeneralRe: the timer is slowed Pin
Eddy Vluggen3-Feb-19 2:04
professionalEddy Vluggen3-Feb-19 2:04 
GeneralRe: the timer is slowed Pin
OriginalGriff3-Feb-19 2:23
mveOriginalGriff3-Feb-19 2:23 
AnswerRe: the timer is slowed Pin
Gerry Schmitz4-Feb-19 6:41
mveGerry Schmitz4-Feb-19 6:41 
QuestionUsing Clang in c# project Pin
areejmayar1-Feb-19 23:57
areejmayar1-Feb-19 23:57 

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.