✅ Separate local function with explicit 'return' statement - C#