Best is probably to use parameters :
int[] pIds = new int[] {101, 012};
var query = _graphClient.Cypher.Read
.OptionalMatch($"(p: {Labels.PERSON})")
.Where($"p.Id IN $pIds")
.Return<Person>(p)
.WithParam("pIds", pIds);
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…