Wrox Programmer Forums
|
VS.NET 2002/2003 Discussions about the Visual Studio.NET programming environment, the 2002 (1.0) and 2003 (1.1). ** Please don't post code questions here ** For issues specific to a particular language in .NET, please see the other forum categories.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VS.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 23rd, 2005, 04:46 AM
Authorized User
 
Join Date: Oct 2004
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to dotnetprogrammer
Default Determining the name of function

Hi,

We have __FUNCTION__ macro in VC++.Net to determine the name of the current function and __LINE macro to determine the current line.
But in c# how can we don't have these macros. Here how can we determine the name of current function and the line number.

Regards

Saurabh

dotnet
__________________
dotnet





Similar Threads
Thread Thread Starter Forum Replies Last Post
Determining File Types seananderson Access VBA 2 February 12th, 2007 12:59 PM
Determining the cache size easwars C++ Programming 0 January 28th, 2007 12:33 PM
Determining how a window is closed chrscote Javascript How-To 2 June 16th, 2005 07:53 AM
Determining Which Button Was Clicked BrianWren ASP.NET 1.0 and 1.1 Basics 3 May 5th, 2005 03:24 PM
Determining the number of children raoulvb XSLT 2 November 30th, 2004 10:50 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.