Pastable version of How can i shorter my linq codes?