R
R
rgggwwg2020-09-28 15:44:49
C++ / C#
rgggwwg, 2020-09-28 15:44:49

Is there a function \ method in c# that, when called, returns an int value of the line on which it was called?

Didn't find anything like that on the internet.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
Foggy Finder, 2020-09-28
@rgggwwg

Probably the CallerLineNumberAttribute attribute will suit you

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question