111,094
社区成员




static void Main(string[] args)
{
try
{
throw new NullReferenceException();
}
catch (Exception ex)
{
Console.WriteLine(System.Text.RegularExpressions.Regex.Match(ex.StackTrace, @"行号\D+\d+").Value);
}
Console.ReadKey();
}