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. A Few Quick Questions

A Few Quick Questions

Scheduled Pinned Locked Moved C#
csharpquestion
10 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.
  • B Offline
    B Offline
    BlitzPackage
    wrote on last edited by
    #1

    Good People, What do the following words mean in C#? Partial Refactoring Delegates Thanks, BP

    N E C E A 5 Replies Last reply
    0
    • B BlitzPackage

      Good People, What do the following words mean in C#? Partial Refactoring Delegates Thanks, BP

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      They mean [^]


      only two letters away from being an asset

      1 Reply Last reply
      0
      • B BlitzPackage

        Good People, What do the following words mean in C#? Partial Refactoring Delegates Thanks, BP

        E Offline
        E Offline
        ednrgc
        wrote on last edited by
        #3

        1 - Not a whole 2 - When your factor fails, you have to refactor. 3 - When you have to take off a legate, you use Delegates. :-D

        1 Reply Last reply
        0
        • B BlitzPackage

          Good People, What do the following words mean in C#? Partial Refactoring Delegates Thanks, BP

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          I'm not sure why you're asking this, if not for homework ? Refactoring means the same in any language. Partial means you're using VS2005, it's a new keyword. A delegate is a fancy function pointer.

          Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

          B 1 Reply Last reply
          0
          • C Christian Graus

            I'm not sure why you're asking this, if not for homework ? Refactoring means the same in any language. Partial means you're using VS2005, it's a new keyword. A delegate is a fancy function pointer.

            Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

            B Offline
            B Offline
            BlitzPackage
            wrote on last edited by
            #5

            LOL - it's not for homework. (After 12 years of college/grad school primarily in the 90s, those days are long gone.) I am learning C# here at work and want to use it for my first software project. I'm self-taught. Thanks for your answers, BP

            C 1 Reply Last reply
            0
            • B BlitzPackage

              Good People, What do the following words mean in C#? Partial Refactoring Delegates Thanks, BP

              E Offline
              E Offline
              Ed Poore
              wrote on last edited by
              #6

              Partial[^] Refactoring (via Google as well)[^] Delegates[^] If you type these words into Google (with optional "C#" at end you'll get it in the first result)


              I have no idea what I just said. But my intentions were sincere.

              B 1 Reply Last reply
              0
              • B BlitzPackage

                LOL - it's not for homework. (After 12 years of college/grad school primarily in the 90s, those days are long gone.) I am learning C# here at work and want to use it for my first software project. I'm self-taught. Thanks for your answers, BP

                C Offline
                C Offline
                Christian Graus
                wrote on last edited by
                #7

                BlitzPackage wrote:

                I am learning C# here at work and want to use it for my first software project.

                OK - google would have answered them all, but... a partial class has more than one .cs file, you just put 'partial' in your class definition, and the compiler will find all files relating to a class and merge them Refactoring means to take existing code and change it's structure, most commonly by breaking a large function into several smaller ones. A delegate is a function pointer, like I said. That means, a variable represents a function which can be assigned and called in code. All the event handlers in your forms code, like when you click a button, is handled with delegates.

                Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

                B 1 Reply Last reply
                0
                • E Ed Poore

                  Partial[^] Refactoring (via Google as well)[^] Delegates[^] If you type these words into Google (with optional "C#" at end you'll get it in the first result)


                  I have no idea what I just said. But my intentions were sincere.

                  B Offline
                  B Offline
                  BlitzPackage
                  wrote on last edited by
                  #8

                  Thanks Ed, I appreciate your answers. Sincerely, BP

                  1 Reply Last reply
                  0
                  • C Christian Graus

                    BlitzPackage wrote:

                    I am learning C# here at work and want to use it for my first software project.

                    OK - google would have answered them all, but... a partial class has more than one .cs file, you just put 'partial' in your class definition, and the compiler will find all files relating to a class and merge them Refactoring means to take existing code and change it's structure, most commonly by breaking a large function into several smaller ones. A delegate is a function pointer, like I said. That means, a variable represents a function which can be assigned and called in code. All the event handlers in your forms code, like when you click a button, is handled with delegates.

                    Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

                    B Offline
                    B Offline
                    BlitzPackage
                    wrote on last edited by
                    #9

                    Thanks Christian, BP

                    1 Reply Last reply
                    0
                    • B BlitzPackage

                      Good People, What do the following words mean in C#? Partial Refactoring Delegates Thanks, BP

                      A Offline
                      A Offline
                      atulonweb hotmail com
                      wrote on last edited by
                      #10

                      hi 1. Partial - its a new kyeword introduced in c#2.0 and is use to write a class in distributed form E.G - look at the designer of your form it is Form1.designer and where u write code is partial class form1. similarly u can have no. of class u want with the same name like partial Form1 and write and these will be combined in a single class i.e Form1.. Realy a good feature..like Sometime when no.of developers need to work on same class and so others. 2. Refactoring - provided to help u need writting templetes in code. For C# there is inbuilt Refactoring in dot net and for VB.net need to install third party. one can provide own code snipette and use refactoring to use them Simple best way to make lazy programmer. 3. Delegate - this is a something that works between event source and event target. It handles the event. Atul kumar

                      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