111
This commit is contained in:
@@ -101,7 +101,29 @@ namespace MyCode.Project.WebApi.Controllers
|
||||
|
||||
//}
|
||||
|
||||
//[AllowAnonymous]
|
||||
//[HttpGet]
|
||||
//public void asda()
|
||||
//{
|
||||
// List<string> tempList = new List<string> { "Supplier1", "Supplier2" };
|
||||
|
||||
// if (!tempList.Contains("Supplier"))
|
||||
// {
|
||||
// Console.WriteLine("不包含 Supplier(符合预期)");
|
||||
// }
|
||||
|
||||
// if (tempList.Contains("Supplier1"))
|
||||
// {
|
||||
// Console.WriteLine("包含 Supplier1(符合预期)");
|
||||
// }
|
||||
|
||||
// string lll = "Supplier2";
|
||||
// if (lll.Contains("Supplier"))
|
||||
// {
|
||||
// Console.WriteLine("包含 Supplier1(符合预期)");
|
||||
// }
|
||||
|
||||
//}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user