Click here to Skip to main content
15,912,400 members
Home / Discussions / C#
   

C#

 
AnswerRe: Problem with System.IO.File.Exists Pin
Guffa21-Dec-05 3:23
Guffa21-Dec-05 3:23 
GeneralRe: Problem with System.IO.File.Exists Pin
hasanali0021-Dec-05 4:17
hasanali0021-Dec-05 4:17 
AnswerRe: Problem with System.IO.File.Exists Pin
albCode21-Dec-05 4:18
albCode21-Dec-05 4:18 
QuestionTable information Pin
peppepinna21-Dec-05 2:50
peppepinna21-Dec-05 2:50 
AnswerRe: Table information Pin
Roy Heil21-Dec-05 4:16
professionalRoy Heil21-Dec-05 4:16 
QuestionCustom Text on TaskBar Pin
Leyu21-Dec-05 2:47
Leyu21-Dec-05 2:47 
AnswerRe: Custom Text on TaskBar Pin
WetRivrRat21-Dec-05 3:41
WetRivrRat21-Dec-05 3:41 
GeneralRe: Custom Text on TaskBar Pin
Leyu24-Dec-05 20:50
Leyu24-Dec-05 20:50 
QuestionSQL Database Backup Restore through C#? Pin
manojk_batra21-Dec-05 2:06
manojk_batra21-Dec-05 2:06 
AnswerRe: SQL Database Backup Restore through C#? Pin
WetRivrRat21-Dec-05 6:42
WetRivrRat21-Dec-05 6:42 
QuestionIndigo Installation Problem Pin
srinivas_23421-Dec-05 1:01
srinivas_23421-Dec-05 1:01 
QuestionGetting the Namespace/Name of the calling method Pin
MrEyes21-Dec-05 0:57
MrEyes21-Dec-05 0:57 
AnswerRe: Getting the Namespace/Name of the calling method Pin
Guffa21-Dec-05 1:08
Guffa21-Dec-05 1:08 
The information is in the call stack, so it's from there that you have to get it.

Perhaps there are some other methods that you can use that does some of the work for you. For an example, if you throw an exception and catch it, it will contain a stack trace. Throwing exceptions is quite expensive, though.

---
b { font-weight: normal; }

GeneralRe: Getting the Namespace/Name of the calling method Pin
MrEyes21-Dec-05 1:12
MrEyes21-Dec-05 1:12 
GeneralRe: Getting the Namespace/Name of the calling method Pin
Vikram A Punathambekar21-Dec-05 1:17
Vikram A Punathambekar21-Dec-05 1:17 
GeneralRe: Getting the Namespace/Name of the calling method Pin
MrEyes21-Dec-05 1:21
MrEyes21-Dec-05 1:21 
GeneralRe: Getting the Namespace/Name of the calling method Pin
leppie21-Dec-05 4:10
leppie21-Dec-05 4:10 
GeneralRe: Getting the Namespace/Name of the calling method Pin
MrEyes21-Dec-05 4:15
MrEyes21-Dec-05 4:15 
GeneralRe: Getting the Namespace/Name of the calling method Pin
leppie21-Dec-05 4:28
leppie21-Dec-05 4:28 
QuestionExecutable Pin
charbelasmar21-Dec-05 0:33
charbelasmar21-Dec-05 0:33 
AnswerRe: Executable Pin
Vikram A Punathambekar21-Dec-05 1:19
Vikram A Punathambekar21-Dec-05 1:19 
AnswerRe: Executable Pin
Vikram A Punathambekar21-Dec-05 1:19
Vikram A Punathambekar21-Dec-05 1:19 
GeneralRe: Executable Pin
J4amieC21-Dec-05 3:23
J4amieC21-Dec-05 3:23 
GeneralRe: Executable Pin
Vikram A Punathambekar21-Dec-05 16:17
Vikram A Punathambekar21-Dec-05 16:17 
QuestionUser Controls access Page variable Pin
vinyladdict21-Dec-05 0:00
vinyladdict21-Dec-05 0:00 

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.