Functional programming concepts like lambda calculus and category theory can help organize code in C# and F#. Lambda calculus uses expressions instead of statements to represent computations. This emphasizes composability over side effects. Category theory provides a framework for reasoning about program structure using concepts like functors that map types and morphisms that represent functions. Functors allow abstracting different computation contexts like tasks and sequences. Monads can then combine computations across contexts through applicative functors. Overall, functional programming brings a mathematical approach to code organization that emphasizes composability, pure functions, and handling side effects through abstraction rather than mutation.