Click here to Skip to main content
15,887,267 members
Home / Discussions / C#
   

C#

 
GeneralRe: Get the code of an Stored procedure Pin
Paul Conrad1-Aug-08 5:39
professionalPaul Conrad1-Aug-08 5:39 
AnswerRe: Get the code of an Stored procedure Pin
Anurag Gandhi1-Aug-08 1:00
professionalAnurag Gandhi1-Aug-08 1:00 
Questionwindows servioce - timer Pin
arkiboys1-Aug-08 0:36
arkiboys1-Aug-08 0:36 
AnswerRe: windows servioce - timer Pin
stancrm1-Aug-08 0:47
stancrm1-Aug-08 0:47 
GeneralRe: windows servioce - timer Pin
arkiboys1-Aug-08 0:49
arkiboys1-Aug-08 0:49 
AnswerRe: windows servioce - timer Pin
paas1-Aug-08 1:05
paas1-Aug-08 1:05 
GeneralRe: windows servioce - timer Pin
arkiboys1-Aug-08 2:58
arkiboys1-Aug-08 2:58 
GeneralLine numbers differ in Debug and Release. Pin
Brady Kelly1-Aug-08 0:26
Brady Kelly1-Aug-08 0:26 
When I run the following code in Release mode, it tells me line 11, which is one too high. When I run it in Debug mode, I get the correct line number 10. Why?
using System;
using System.Diagnostics;

namespace Debugging
{
    class Program
    {
        static void Main(string[] args)
        {
            ShowDebugInfo();
            Console.ReadKey();
        }

        private static void ShowDebugInfo()
        {
            StackFrame here = new StackFrame(1, true);
            Console.WriteLine(here.GetMethod().Name);
            Console.WriteLine(here.GetFileLineNumber().ToString());
        }
    }
}



GeneralRe: Line numbers differ in Debug and Release. Pin
Rob Philpott1-Aug-08 0:43
Rob Philpott1-Aug-08 0:43 
GeneralRe: Line numbers differ in Debug and Release. Pin
leppie1-Aug-08 1:49
leppie1-Aug-08 1:49 
QuestionHow to connect a DTO to my table Pin
Exelioindia1-Aug-08 0:12
Exelioindia1-Aug-08 0:12 
AnswerRe: How to connect a DTO to my table Pin
leppie1-Aug-08 0:31
leppie1-Aug-08 0:31 
Questionexcel problem Pin
Mogaambo31-Jul-08 23:57
Mogaambo31-Jul-08 23:57 
AnswerRe: excel problem Pin
Paul Conrad2-Aug-08 10:31
professionalPaul Conrad2-Aug-08 10:31 
QuestionThreading problem Pin
MarkB77731-Jul-08 23:55
MarkB77731-Jul-08 23:55 
AnswerRe: Threading problem Pin
Mogaambo1-Aug-08 0:12
Mogaambo1-Aug-08 0:12 
AnswerRe: Threading problem Pin
Guffa1-Aug-08 2:44
Guffa1-Aug-08 2:44 
GeneralRe: Threading problem Pin
MarkB7771-Aug-08 2:56
MarkB7771-Aug-08 2:56 
GeneralRe: Threading problem Pin
Mogaambo1-Aug-08 9:20
Mogaambo1-Aug-08 9:20 
GeneralRe: Threading problem Pin
MarkB7771-Aug-08 13:38
MarkB7771-Aug-08 13:38 
GeneralRe: Threading problem Pin
MarkB7771-Aug-08 14:46
MarkB7771-Aug-08 14:46 
QuestionSorting out the Data Pin
Hum Dum31-Jul-08 22:15
Hum Dum31-Jul-08 22:15 
AnswerRe: Sorting out the Data Pin
User 665831-Jul-08 22:45
User 665831-Jul-08 22:45 
Questionhow can i add the plus minus symbol in treeview in c# Pin
sanjeevmedhi31-Jul-08 22:05
sanjeevmedhi31-Jul-08 22:05 
AnswerRe: how can i add the plus minus symbol in treeview in c# Pin
Anurag Gandhi31-Jul-08 22:27
professionalAnurag Gandhi31-Jul-08 22:27 

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.