You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
<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}");
|
|
|
|
|
}
|