Created
September 21, 2017 07:12
-
-
Save mhkoca/52618046ff0a93f0fe988db96732adb7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void NeredenGeldimEskiVersiyonlar(string parametre, string cagiranMetodAdi = "", string cagiranDosyaYolu = "", int cagiranSatirNumarasi = 0) | |
{ | |
StackTrace st = new StackTrace(true); | |
StackFrame[] frames = st.GetFrames(); | |
Console.WriteLine(parametre); | |
Console.WriteLine("Çağıran Metodun Adı : " + cagiranMetodAdi); | |
Console.WriteLine("Çağıran Metodun Dosya Yolu : " + cagiranDosyaYolu); | |
Console.WriteLine("Çağıran Metodun Satır Numarası : " + cagiranSatirNumarasi); | |
Console.Read(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment