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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. Is C# is fully object oriented or not?

Is C# is fully object oriented or not?

Scheduled Pinned Locked Moved C#
csharpoopquestion
16 Posts 11 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 User 10255845

    Tell me the answer for this one.

    P Offline
    P Offline
    Peter Leow
    wrote on last edited by
    #2

    Read this: is-c-sharp-a-100-object-oriented-programming-language[^]

    S B 2 Replies Last reply
    0
    • U User 10255845

      Tell me the answer for this one.

      OriginalGriffO Offline
      OriginalGriffO Offline
      OriginalGriff
      wrote on last edited by
      #3

      Yes.

      Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952) Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)

      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
      "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

      1 Reply Last reply
      0
      • U User 10255845

        Tell me the answer for this one.

        B Offline
        B Offline
        BillWoodruff
        wrote on last edited by
        #4

        Well, I think that all depends on how you define what an OO Language is. If you met someone at Xerox Parc in the 1970's who programmed in SmallTalk, and showed them the C# Language specification, they might say C# is not a full OO Language because it doesn't support "true" multiple-inheritance, and it distinguishes value Types from reference Types. But, that same person would probably also say that Java, Ruby, and Python, are not OO Languages. But, if you ask the question as: "Is C# an object-oriented language ?:" then, I would say: "yes," because you can't do squat in C# without creating and using objects; and, yes, because C# supports the key-features of object-oriented languages, including classes, and inheritance.

        “The best hope is that one of these days the Ground will get disgusted enough just to walk away ~ leaving people with nothing more to stand ON than what they have so bloody well stood FOR up to now.” Kenneth Patchen, Poet

        1 Reply Last reply
        0
        • P Peter Leow

          Read this: is-c-sharp-a-100-object-oriented-programming-language[^]

          S Offline
          S Offline
          Soul Search
          wrote on last edited by
          #5

          Yes C# is fully Object Oriented as the basis of C# depends solely on classes and objects as is the case with other OO Languages like Java. There is difference in functionality provided by the two languages but the basic structure is quite similar. Regards, Kamal Soul Search

          1 Reply Last reply
          0
          • P Peter Leow

            Read this: is-c-sharp-a-100-object-oriented-programming-language[^]

            B Offline
            B Offline
            BobJanova
            wrote on last edited by
            #6

            That's not really an answer as apparently SO can't agree! Personally I'd say that it is almost 100% OO, everything in C# is an object, even primitive types ... except methods and classes, which can easily be manipulated into object types (Delegate and Type respectively), but which are not actually objects in and of themselves.

            1 Reply Last reply
            0
            • U User 10255845

              Tell me the answer for this one.

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

              What exactly do you mean by "fully object oriented"? That doesn't seem to be a well-defined term.

              W 1 Reply Last reply
              0
              • L Lost User

                What exactly do you mean by "fully object oriented"? That doesn't seem to be a well-defined term.

                W Offline
                W Offline
                Wayne Gaylard
                wrote on last edited by
                #8

                Please can you define what you mean by well-defined term . :-D

                Everyone dies - but not everyone lives

                L OriginalGriffO 2 Replies Last reply
                0
                • W Wayne Gaylard

                  Please can you define what you mean by well-defined term . :-D

                  Everyone dies - but not everyone lives

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

                  Oh you :-D

                  1 Reply Last reply
                  0
                  • W Wayne Gaylard

                    Please can you define what you mean by well-defined term . :-D

                    Everyone dies - but not everyone lives

                    OriginalGriffO Offline
                    OriginalGriffO Offline
                    OriginalGriff
                    wrote on last edited by
                    #10

                    See recursion.

                    Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952) Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)

                    "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                    "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                    W 1 Reply Last reply
                    0
                    • OriginalGriffO OriginalGriff

                      See recursion.

                      Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952) Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)

                      W Offline
                      W Offline
                      Wayne Gaylard
                      wrote on last edited by
                      #11

                      Recursion.[^]

                      Everyone dies - but not everyone lives

                      L P 2 Replies Last reply
                      0
                      • W Wayne Gaylard

                        Recursion.[^]

                        Everyone dies - but not everyone lives

                        L Offline
                        L Offline
                        lukeer
                        wrote on last edited by
                        #12

                        Not fully recoursive. This is.

                        Ciao, luker

                        W 1 Reply Last reply
                        0
                        • L lukeer

                          Not fully recoursive. This is.

                          Ciao, luker

                          W Offline
                          W Offline
                          Wayne Gaylard
                          wrote on last edited by
                          #13

                          Ok - you win!

                          Everyone dies - but not everyone lives

                          1 Reply Last reply
                          0
                          • W Wayne Gaylard

                            Recursion.[^]

                            Everyone dies - but not everyone lives

                            P Offline
                            P Offline
                            pradeep surya
                            wrote on last edited by
                            #14

                            C# is object oriented.

                            P 1 Reply Last reply
                            0
                            • P pradeep surya

                              C# is object oriented.

                              P Offline
                              P Offline
                              Pete OHanlon
                              wrote on last edited by
                              #15

                              As Bill points out, just how OO is it? Does the fact that it allows static methods and objects adhere to OO tenets?

                              1 Reply Last reply
                              0
                              • U User 10255845

                                Tell me the answer for this one.

                                P Offline
                                P Offline
                                Pete OHanlon
                                wrote on last edited by
                                #16

                                You have several excellent answers here, but I will throw a one into the mix - is a language that supports static methods and objects fully object oriented? Does that fit into a classical definition of OO?

                                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