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. C#.net (windows )

C#.net (windows )

Scheduled Pinned Locked Moved C#
csharptutorialquestion
7 Posts 6 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.
  • U Offline
    U Offline
    User 9962897
    wrote on last edited by
    #1

    how to decare public variable?

    G D S J A 5 Replies Last reply
    0
    • U User 9962897

      how to decare public variable?

      G Offline
      G Offline
      Goaty65109
      wrote on last edited by
      #2

      as in... public string a = "apple";????? You would the call it by Namespace.Class.Stringname (correct me if I am wrong), but I am pretty sure that is correct if that is what you are referring to.

      1 Reply Last reply
      0
      • U User 9962897

        how to decare public variable?

        D Offline
        D Offline
        Dave Kreskowiak
        wrote on last edited by
        #3

        By picking up a beginners book on C# and working through it.

        A guide to posting questions on CodeProject[^]
        Dave Kreskowiak

        1 Reply Last reply
        0
        • U User 9962897

          how to decare public variable?

          S Offline
          S Offline
          Simon_Whale
          wrote on last edited by
          #4

          I would also recommend that you bookmark this site while you are learning the basics MSDN Developement for beginners[^]

          Every day, thousands of innocent plants are killed by vegetarians. Help end the violence EAT BACON

          1 Reply Last reply
          0
          • U User 9962897

            how to decare public variable?

            J Offline
            J Offline
            Jasmine2501
            wrote on last edited by
            #5

            This can't be a real question. Please give us more information.

            S 1 Reply Last reply
            0
            • J Jasmine2501

              This can't be a real question. Please give us more information.

              S Offline
              S Offline
              Simon_Whale
              wrote on last edited by
              #6

              it is a real question but a very simple one

              Every day, thousands of innocent plants are killed by vegetarians. Help end the violence EAT BACON

              1 Reply Last reply
              0
              • U User 9962897

                how to decare public variable?

                A Offline
                A Offline
                Abhinav S
                wrote on last edited by
                #7

                You could start by reading some basic books on C#.

                WP Apps - Color Search | Arctic | XKCD | Sound Meter | Speed Dial

                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