✅ How can i turn this into a query? - C#