📌  相关文章
📜  如何检查一个值是否在数组中c#代码示例

📅  最后修改于: 2022-03-11 14:48:55.555000             🧑  作者: Mango

代码示例1
/*Make sure to add 
using System.Linq;
*/


string[] printer = {"jupiter", "neptune", "pangea", "mercury", "sonic"};
if(printer.Contains("jupiter"))
{
    Process.Start("BLAH BLAH CODE TO ADD PRINTER VIA WINDOWS EXEC"");
}