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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T11:53:16+00:00 2026-06-18T11:53:16+00:00

How come that in C# you can make Primitive Datatypes? What kind of practical

  • 0

How come that in C# you can make Primitive Datatypes?

What kind of practical uses does this functionality have?

  • 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-18T11:53:17+00:00Added an answer on June 18, 2026 at 11:53 am

    I assume you mean struct. There are various uses:

    • representing simple data such as a Point or ComplexValue that doesn’t warrant the overhead of an object per instance : it is just a (preferably-immutable) set of values that are a composite
    • mapping fields to memory with explicit layout for interop purposes
    • avoiding GC issues for massive datasets

    It is, however, very rare to declare a struct in C#; i.e. vanishingly rare. Nobody is making you do it, and if you don’t like them : don’t create any.

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

Sidebar

Related Questions

Does the system come with a standard control that can be used for drawing
Has anyone come across a software that can dynamically stream an arbitrary source identified
I'm learning rails and I've come across a little quirk that I can't seem
If I come across something like #include somewhere/myheader.h can I automatically jump to that
I've come up with the following LINQ, but I can't help thinking that I
I'm trying to write a function that takes multiple arguments, which can come either
after reading all posts that come close to this, I still find no solution
I have source XMLfiles that come in with multiple root elements and there is
I've seen a couple pages that come close to this, but I'm looking for
Wordpress 3.0 just came out and it was cited that one can make a

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.