Click here to Skip to main content
15,913,722 members
Home / Discussions / C#
   

C#

 
AnswerRe: I need to Set Focus of ComboBox When User Click on TextBox Pin
stancrm19-Sep-08 1:04
stancrm19-Sep-08 1:04 
Questionhashtable problem Pin
Mogaambo19-Sep-08 0:16
Mogaambo19-Sep-08 0:16 
AnswerRe: hashtable problem Pin
leppie19-Sep-08 0:38
leppie19-Sep-08 0:38 
Answerhashtable problem Pin
Chetan Patel19-Sep-08 0:43
Chetan Patel19-Sep-08 0:43 
AnswerRe: hashtable problem Pin
Pete O'Hanlon19-Sep-08 2:32
mvePete O'Hanlon19-Sep-08 2:32 
AnswerRe: hashtable problem Pin
Guffa19-Sep-08 2:34
Guffa19-Sep-08 2:34 
QuestionReason for System.StackOverflowException Pin
tauras8119-Sep-08 0:06
tauras8119-Sep-08 0:06 
AnswerRe: Reason for System.StackOverflowException Pin
J4amieC19-Sep-08 0:15
J4amieC19-Sep-08 0:15 
They're pretty self explanatory, but here goes.


tauras81 wrote:
StackOverFlowException


This occurs when the stack overflows. There is a limited number of methods that can be called, so the most common occurance of this exception is when you keep calling the same method over and over again. The most common time i see this exception is when I make a case-related typo eg

public class Foo
{
  private int bar;

  public int Bar
  {
    get{ return this.Bar; } <-- that should have said this.bar. By being uppercase it will keep calling itself. StackOverflowException will occur
  }
}



tauras81 wrote:
AccessViolationException


This exception is usually thrown when trying to read or write protected memory. It has to do with unsafe or unmanaged code, and as I dont deal with this very often I cant think of a simple reproducable bit of code to demonstrate it. You could try the documentation[^] - a good place to go in both these cases.
AnswerRe: Reason for System.StackOverflowException Pin
Chetan Patel19-Sep-08 0:46
Chetan Patel19-Sep-08 0:46 
QuestionPrintPageEventHandler issue Pin
laziale18-Sep-08 23:41
laziale18-Sep-08 23:41 
QuestionStoring data in DataTable Pin
Muammar©18-Sep-08 23:12
Muammar©18-Sep-08 23:12 
AnswerThe other way round Pin
Muammar©19-Sep-08 0:44
Muammar©19-Sep-08 0:44 
AnswerRe: Storing data in DataTable Pin
Chetan Patel19-Sep-08 0:54
Chetan Patel19-Sep-08 0:54 
QuestionHow to get app.config value at .net framework 2.0? Pin
mimimimilaw18-Sep-08 23:00
mimimimilaw18-Sep-08 23:00 
AnswerRe: How to get app.config value at .net framework 2.0? Pin
Giorgi Dalakishvili18-Sep-08 23:02
mentorGiorgi Dalakishvili18-Sep-08 23:02 
GeneralRe: How to get app.config value at .net framework 2.0? Pin
mimimimilaw18-Sep-08 23:34
mimimimilaw18-Sep-08 23:34 
GeneralRe: How to get app.config value at .net framework 2.0? Pin
Giorgi Dalakishvili18-Sep-08 23:40
mentorGiorgi Dalakishvili18-Sep-08 23:40 
QuestionCalendar's NextPrevStyle style dude Pin
Axelaser18-Sep-08 21:43
Axelaser18-Sep-08 21:43 
AnswerRe: Calendar's NextPrevStyle style dude Pin
leppie18-Sep-08 22:48
leppie18-Sep-08 22:48 
Questionquery Pin
lankaudaranga18-Sep-08 21:37
lankaudaranga18-Sep-08 21:37 
AnswerRe: query Pin
Guffa18-Sep-08 21:46
Guffa18-Sep-08 21:46 
AnswerRe: query Pin
Harvey Saayman19-Sep-08 0:29
Harvey Saayman19-Sep-08 0:29 
GeneralRe: query Pin
Ashfield19-Sep-08 1:32
Ashfield19-Sep-08 1:32 
GeneralRe: query Pin
Harvey Saayman19-Sep-08 1:35
Harvey Saayman19-Sep-08 1:35 
GeneralRe: query Pin
Guffa19-Sep-08 2:43
Guffa19-Sep-08 2:43 

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.