LinqPad8Study/LinqPadScript/MyUtil.linq

22 lines
663 B
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<Query Kind="Program">
<NuGetReference>Microsoft.CodeAnalysis.CSharp</NuGetReference>
<NuGetReference>Microsoft.Extensions.DependencyInjection</NuGetReference>
<NuGetReference>Microsoft.Extensions.Logging</NuGetReference>
<NuGetReference>Newtonsoft.Json</NuGetReference>
<NuGetReference>xunit</NuGetReference>
<Namespace>System.Threading.Tasks</Namespace>
<IncludeLinqToSql>true</IncludeLinqToSql>
<IncludeAspNet>true</IncludeAspNet>
</Query>
void Main()
{
}
// You can define other methods, fields, classes and namespaces here
private void PrintThreadInfo()
{
Console.WriteLine($"当前线程ID{Thread.CurrentThread.ManagedThreadId}");
}