Is the c# a functional or object oriented language?
I need to learn writing very good code using c#, but should I use C# primarily as a functional language or object orientated?
I'm confused should I use OOP coding style or functional coding style. or should I mix between them.
From wikipedia:
C# is a multi-paradigm programming language encompassing strong typing, imperative, declarative, functional, generic, object-oriented (class-based), and component-oriented programming disciplines
So, in general, we can just use whichever paradigm suits our needs for the task at hand.
UPDATE: A couple of caveats have been highlighted by the comments below: