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 755237
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T15:06:24+00:00 2026-05-14T15:06:24+00:00

As the title says, I’m trying to use a class declared in a namespace

  • 0

As the title says, I’m trying to use a class declared in a namespace which contains “base” in its name.
Think of a situation like the following:

open Foo.base.Bar

In C# I’d just use @ before base but F# seems to ignore that and to think that @ is the infix operator used for list concatenation.
Since the namespace belongs to a third-party library which I cannot modify, is there a way I can still access it from F#?

  • 1 1 Answer
  • 1 View
  • 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-05-14T15:06:24+00:00Added an answer on May 14, 2026 at 3:06 pm

    In F#, you can achieve similar thing by enclosing the special name between two pairs of “ symbols. The following should do the trick:

    open Foo.``base``.Bar
    

    This is a bit more flexible than in C# – the name can contain almost anything, so you can for example define members with space in the name:

    let ``some name!`` = 42
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

As the title says, I'm trying to do something like this: public abstract class
As title says, i know that new throws an exception which can be caught,
The title says enough I think. I have a full quality BufferedImage and I
As title says, mock code to demostrate my problem Driver Class import java.io.*; public
As the title says, i am trying to find the customer's who have made
Title says it pretty much all... I'm trying to automate tests on a web
Title says what i'm trying to do. I can successfully generate an assembly if
As title says, how do I call a java class method from a jsp,
The title says it. I'm looking for a way to determine exactly which file/registry
As the title says. Even with CPaintDC in the derived class the GDI drawing

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.