C# as a Functional Programming Language

C# is one of the most popular .NET languages, and yes it supports Functional programming as well.

In this talk first we'll draw parity of functions like High Order functions, Curry functions, Pure functions e.t.c. in the C# context.

Later we'll see how C# implements the functional programming paradigm with the help of Lambda and LINQ with a real life example.

 

 
4 favorite thumb_down thumb_up 3 comments visibility_off  Remove from Watchlist visibility  Add to Watchlist
 

Outline/structure of the Session

  • Introduction to different types of functions with examples in C# (15 minutes).
  • Introduction with Demo to LINQ and Lambda functions in C# (20 minutes), explore the joy of writing a more natural query than the SQL over your .net Objects.
  • Q & A

Learning Outcome

  • A better understanding about functional programming
  • Learn about Lambda and LINQ in C#
  • Be able to refactor your code to functional programming version

Target Audience

any one who wants to learn basics of FP in easiest form and not neccessarily likes C# or java

schedule Submitted 1 year ago

Comments Subscribe to Comments

comment Comment on this Proposal
  • Naresh Jain
    By Naresh Jain  ~  1 year ago
    reply Reply

    Thanks for the proposal. Given most of the participants at this conference would already be familiar with basic Functional Programming concepts, do you think it would make sense to focus on a real-world example and show the power of functional programming in F# using Lamda and LINQ?

    If you agree, please update your proposal accordingly.

    • Brij Raj Singh
      By Brij Raj Singh  ~  1 year ago
      reply Reply

      Thanks for review Naresh, makes perfect sense. I'll edit and update.

      • Naresh Jain
        By Naresh Jain  ~  1 year ago
        reply Reply

        Thanks for updating the proposal Brij. Few things:

        • The session type of the proposal is set to Talk. I think a demo is more appropriate for this topic
        • What example are you planning to take to demo the power of Functional programming in C#? Can you share the example please?
        • Can you pleas share a video of any of your past presentations? This will help the program team understand your presentation style. 
        • Brij Raj Singh
          By Brij Raj Singh  ~  1 year ago
          reply Reply

          Naresh, thanks for the review.

          I have set the session type to Demo, I am going to do snippets of different demos over how LINQ queries are structured and how they are more natural to write than a SQL query. I may have a video somewhere, I'll upload and share the link.