Created
September 21, 2017 07:11
-
-
Save mhkoca/27bde9c2e41ac53d1fafc7bed8087323 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
static void Main(string[] args) | |
{ | |
MetodCagir(); | |
} | |
private static void MetodCagir() | |
{ | |
NeredenGeldim("Bir metodun serancamı:"); | |
} | |
public static void NeredenGeldim(string parametre, [CallerMemberName]string cagiranMetodAdi = "", [CallerFilePath]string cagiranDosyaYolu = "", [CallerLineNumber]int cagiranSatirNumarasi = 0) | |
{ | |
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