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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T08:22:06+00:00 2026-05-20T08:22:06+00:00

Having studied the switch documentation and discovering it can only switch on integral types

  • 0

Having studied the switch documentation and discovering it can only switch on integral types I set about looking for a definition. I can’t find one anywhere. I can only find a list of integral types.

I could take a guess that integral types are the types which are integrated into the language, however I’d be happier with a proper definition. Does anyone have one?

  • 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-20T08:22:07+00:00Added an answer on May 20, 2026 at 8:22 am

    “Integral” refers to integer types (i.e. whole numbers). In C# this means types like int, long, short, etc.

    Please see Integral Types Table (C# Reference):

    The following table shows the sizes and ranges of the integral types, which constitute a subset of simple types.

    Edit: Keep in mind that the switch statement supports literal strings as well.

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

Sidebar

Related Questions

Having a heckuva time with this one, though I feel I'm missing something obvious.
Having worked with Classic ASP for about 2 years now by creating a few
Having integrated merb_auth_password_slice as per the README, I can successfully login as redirect_after_login is
Having studied Java at school I am quite familiar with the DAO-pattern( Data access
I'm planning to implement my own set of constraints, and am having some difficulty
Having more than one process read from a serial device (/dev/ttyXX) makes it so
Having briefly studied databases in college, I haven't worked with them since and have
I studied several samples, including one here , and basically all I need to
I have just studied the RegEx and I find myself confusing from this following
Having successfully got a WCF service and client to talk to one another using

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.