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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T22:05:47+00:00 2026-05-29T22:05:47+00:00

Classes and structs in C# share several characteristics: they can be instantiated (absent restrictions

  • 0

Classes and structs in C# share several characteristics:

  • they can be instantiated (absent restrictions to the contrary, as with abstract and static classes)
  • they can contain method and property implementations
  • the type’s author defines the type’s instance fields

We often use “class” and “struct” to distinguish between “reference type” and “value type”, but sometimes it’s useful to consider both types of types. Furthermore, “reference type” also includes interfaces and delegates, which are not classes. So “class” doesn’t mean any reference type, it means “a reference _(fill in the blank)_“.

For example, if reference and value type declarations were like this:

public sealed class ref String { }
public class val Int32 { }

instead of like this:

public sealed class String { }
public struct Int32 { }

then the word “class” could be used to denote the concept.

The best answer I’ve come up with here is “concrete type”, but that would be confusing, since it could also refer to the non-abstract subclass of an abstract class.

Any suggestions?

EDIT

To clarify, I’m not seeking a word that can collectively describe instances of classes and structs. I’m trying to describe class types and struct types.

In other words, if “class” denotes a set that includes System.String, System.FileInfo, etc., and “struct” denotes a set that includes System.Int32, System.Collections.Generic.List<T>.Enumerator, etc., then I’m looking for the word that denotes the union of those sets.

EDIT 2

(In reaction to Jordão’s answer) Another way to answer this question would be to complete the following sentence: “All C# method implementations must be declared as members of a _(fill in the blank)_“.

  • 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-29T22:05:50+00:00Added an answer on May 29, 2026 at 10:05 pm

    I find this to be a pseudo discussion. Point #3 can be said about enums and interfaces too, and the point about subclasses of abstract classes not fitting into the mix, I simply don’t get. I think your own suggestion of “concrete types” is ok, but maybe you just want to talk about them as classes and structs, oh wait, but with the exception of subclasses of abstract classes and classes that implement interfaces. The reason that there is no term for what you are looking for might be that it is not a very useful concept in its own right.

    EDIT:

    All C# method implementations must be declared as members of a class or struct.

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

Sidebar

Related Questions

I have many structs (classes) and standalone functions that I like to compile separately
I know that one of the differences between classes and structs is that struct
Should all structs and classes be declared in the header file? If I declare
C# doesn't allow structs to derive from classes, but all ValueTypes derive from Object.
I know it helps a lot if we structure our programs using classes, structs
Classes that implement IEnumerable and provide a public void Add(/* args */) function can
classes: public abstract class BaseHolidayPackageVariant { private Integer variantId; private HolidayPackage holidayPackage; private String
After finishing my C++ class it seemed to me the structs/classes are virtually identical
I have several small classes that are all peers of each other declared and
Whenever I tried to search about differences between classes and structs in C# or

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.