Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8546265
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T12:58:37+00:00 2026-06-11T12:58:37+00:00

I have used Haskell a bit in my days but it was a long

  • 0

I have used Haskell a bit in my days but it was a long time ago so I decided to take a look at F#. I do a lot of daily development using C, C++ and C#.

I noticed that you could expose F# types as classes in C# when compiling F# to a dll. But then I came to think. I have a few C# classes I would like to put the logic of in F# (to try it out). But a lot of the existing C# code handles a lot of objects by their base class (which is very rudimentary). Would it be possible to use that base class from C# as a base for the F# types? Or can F# only inherit from other F# types?

The reason behind this would be to keep the base class as part of the main C# project and the specific dlls (kind of like plugins based on the given contract by the base class) could be written in F#. If it can’t be done I would have to add yet another F# project that contains only the base class which feels a bit overly complicated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T12:58:38+00:00Added an answer on June 11, 2026 at 12:58 pm

    Yes. It is possible.

    type SomeClass =
        inherit SomeCSharpBase
    

    Here are some more details:

    Inheritance (F#)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have only used 3 functional languages -- scala, erlang, and haskell, but in
I have used the silverlight control in CRM 2011.It also published on form but
I have used a plugin that uses prototype js, it's working fine but the
I have used NSSets many times in my apps, but I have never created
I have used geocoder in my ruby on rails application for a while but
I have used the iOS development account for creating APNS SSL certificate for sending
Coming from Haskell I was used to have concise operators like not (x `elem`
I want to use Haskell in production. It has a lot of libraties but
i have used observed_field for arrays of data... but i am having trouble making
I have been reading a lot about Haskell lately, and the benefits that it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.