Click here to Skip to main content
15,892,298 members
Home / Discussions / C#
   

C#

 
AnswerRe: which website learn and solution C# window Application Pin
Super Lloyd12-Jul-20 15:21
Super Lloyd12-Jul-20 15:21 
AnswerRe: which website learn and solution C# window Application Pin
Member 1480992814-Jul-20 21:06
Member 1480992814-Jul-20 21:06 
QuestionDns.GetHostAddresses Question Pin
pkfox11-Jul-20 6:19
professionalpkfox11-Jul-20 6:19 
QuestionRe: Dns.GetHostAddresses Question Pin
Richard MacCutchan11-Jul-20 6:51
mveRichard MacCutchan11-Jul-20 6:51 
AnswerRe: Dns.GetHostAddresses Question Pin
pkfox11-Jul-20 22:39
professionalpkfox11-Jul-20 22:39 
GeneralRe: Dns.GetHostAddresses Question Pin
Richard MacCutchan11-Jul-20 22:54
mveRichard MacCutchan11-Jul-20 22:54 
AnswerRe: Dns.GetHostAddresses Question Pin
Gerry Schmitz12-Jul-20 6:45
mveGerry Schmitz12-Jul-20 6:45 
QuestionOnly one usage of each socket address - error Pin
pkfox10-Jul-20 1:22
professionalpkfox10-Jul-20 1:22 
AnswerRe: Only one usage of each socket address - error Pin
Richard MacCutchan10-Jul-20 3:19
mveRichard MacCutchan10-Jul-20 3:19 
GeneralRe: Only one usage of each socket address - error Pin
pkfox10-Jul-20 4:39
professionalpkfox10-Jul-20 4:39 
GeneralRe: Only one usage of each socket address - error Pin
Richard MacCutchan10-Jul-20 4:58
mveRichard MacCutchan10-Jul-20 4:58 
AnswerRe: Only one usage of each socket address - error Pin
Dave Kreskowiak10-Jul-20 3:24
mveDave Kreskowiak10-Jul-20 3:24 
GeneralRe: Only one usage of each socket address - error Pin
pkfox10-Jul-20 4:40
professionalpkfox10-Jul-20 4:40 
GeneralRe: Only one usage of each socket address - error Pin
Gerry Schmitz12-Jul-20 6:33
mveGerry Schmitz12-Jul-20 6:33 
Questionindex was out of bound of the array Pin
niceruyu10-Jul-20 1:00
niceruyu10-Jul-20 1:00 
AnswerRe: index was out of bound of the array Pin
OriginalGriff10-Jul-20 1:35
mveOriginalGriff10-Jul-20 1:35 
We can't tell - we have no access to your code while it is running, or to your data, and you need both in order to find out why this occurs, much less fix it.

So, it's going to be up to you.
Fortunately, you have a tool available to you which will help you find out what is going on: the debugger. If you don't know how to use it then a quick Google for "Visual Studio debugger" should give you the info you need.

Put a breakpoint on the first line in the function, and run your code through the debugger. Then look at your code, and at your data and work out what should happen manually. Then single step each line checking that what you expected to happen is exactly what did. When it isn't, that's when you have a problem, and you can back-track (or run it again and look more closely) to find out why.
When you know where the problem is and what values you are using, you can start comparing that to the actual spreadsheet and work out why.

Sorry, but we can't do that for you - time for you to learn a new (and very, very useful) skill: debugging!
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!

AnswerRe: index was out of bound of the array Pin
harold aptroot10-Jul-20 1:39
harold aptroot10-Jul-20 1:39 
AnswerRe: index was out of bound of the array Pin
Richard MacCutchan10-Jul-20 3:16
mveRichard MacCutchan10-Jul-20 3:16 
AnswerRe: index was out of bound of the array Pin
Dave Kreskowiak10-Jul-20 3:22
mveDave Kreskowiak10-Jul-20 3:22 
AnswerRe: index was out of bound of the array Pin
Swapnita Dessai19-Jul-20 0:47
Swapnita Dessai19-Jul-20 0:47 
QuestionHow to map excel column value to custom defined object class Pin
Member 148591514-Jul-20 6:56
Member 148591514-Jul-20 6:56 
AnswerRe: How to map excel column value to custom defined object class Pin
Mycroft Holmes4-Jul-20 13:53
professionalMycroft Holmes4-Jul-20 13:53 
GeneralRe: How to map excel column value to custom defined object class Pin
Member 148591515-Jul-20 3:41
Member 148591515-Jul-20 3:41 
GeneralRe: How to map excel column value to custom defined object class Pin
Mycroft Holmes5-Jul-20 12:33
professionalMycroft Holmes5-Jul-20 12:33 
GeneralRe: How to map excel column value to custom defined object class Pin
Member 148591516-Jul-20 1:46
Member 148591516-Jul-20 1:46 

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.