Something like this:
var myObject = new MyClass() { x = \" \".Select(y => { //Do stuff.. if (2 + 2 == 5) return \"I like c
For real code make it a function... For entertainment purposes C# equivalent of JavaScript IIFE is more direct than Select:
Select
var myObject = new MyClass() { x =((Func)(() => {return 2;}))(),...