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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T17:21:59+00:00 2026-05-24T17:21:59+00:00

I am planning to use interfaces in my .NET project. I would like to

  • 0

I am planning to use interfaces in my .NET project. I would like to add a new project “MyInterfaces” in my existing solution. “MyInterfaces” will contain all interfaces required by the solution.

But I am somewhat confused about the project type. What project type should “MyInterfaces” have? Class Library, or something else?

Then, what type of item would I add into that project to declare an interface? Interface or class?

  • 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-05-24T17:22:00+00:00Added an answer on May 24, 2026 at 5:22 pm

    Yes, it should be a class library. You’d then add an interface to the project – if you added a class, you’d have… well, a class! (Of course, you can add a class and then just change it to an interface declaration – as far as Visual Studio is concerned it’s just a C# file; the “Add new item” part is just changing the initial template in this case.)

    If the problem is the name of the project type being “class library” rather than “interface library”, ignore that – it’s really just an assembly which doesn’t include an entry point.

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

Sidebar

Related Questions

I am planning to use SCTP for a embedded Linux project. Anybody has some
I am planning to use libcurl in my project. I had downloaded the library
I am planning to use PIC18F6*** serial microntroller for my project serial-ethernet converter. Once
I'm planning a webapp. I have all the wireframes defined, the interfaces designed in
Am planning to use cookies to communicate between two browser windows. Am wondering if
We are planning to use Team Foundation Server, but we need to decide whether
We are planning to use HTML 5 's Application cache in our application for
I am planning to use Auto reset Event Handle for Inter Thread communication. EventWaitHandle
I am planning to use serialization to do clone. I have to make my
We are planning to use bazaar as a version control tool over cvs and

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.