Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Typecode of an Array?

Typecode of an Array?

Scheduled Pinned Locked Moved C#
data-structuresquestion
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    TyronX
    wrote on last edited by
    #1

    What TypeCode does an int-Array have?

    T L L 3 Replies Last reply
    0
    • T TyronX

      What TypeCode does an int-Array have?

      T Offline
      T Offline
      TyronX
      wrote on last edited by
      #2

      Here's my Problem: I have a hashtable in which i save a TypeCode as the key and the fitting regular expression as the value. So for System.TypeCode.Int32 it would be @"\-?\d". But I also want to parse Numbers seperated by values . Therefore I need a TypeCode for integer/double-arrays or something like that

      1 Reply Last reply
      0
      • T TyronX

        What TypeCode does an int-Array have?

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        The typecode of an array is System.Typecode.Object. This space for rent! My Blog

        1 Reply Last reply
        0
        • T TyronX

          What TypeCode does an int-Array have?

          L Offline
          L Offline
          leppie
          wrote on last edited by
          #4

          Type.GetElementType() top secret
          Download xacc-ide 0.0.3 now!
          See some screenshots

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups