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. Method in a class

Method in a class

Scheduled Pinned Locked Moved C#
question
10 Posts 7 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.
  • E Offline
    E Offline
    Enobong Adahada
    wrote on last edited by
    #1

    How do i check if a method exist in a named class library ? thanks.

    L A 2 Replies Last reply
    0
    • E Enobong Adahada

      How do i check if a method exist in a named class library ? thanks.

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

      http://www.csharp-examples.net/get-method-names/[^]

      E 1 Reply Last reply
      0
      • L Lost User

        http://www.csharp-examples.net/get-method-names/[^]

        E Offline
        E Offline
        Enobong Adahada
        wrote on last edited by
        #3

        Thnks for the link, But what if i want to get a class name form an assembly? thanks again.

        L 1 Reply Last reply
        0
        • E Enobong Adahada

          Thnks for the link, But what if i want to get a class name form an assembly? thanks again.

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

          http://www.dreamincode.net/code/snippet1539.htm[^] Hei.... never heard GOOGLE ? You find the answer there...!!!

          L _ 2 Replies Last reply
          0
          • L Lost User

            http://www.dreamincode.net/code/snippet1539.htm[^] Hei.... never heard GOOGLE ? You find the answer there...!!!

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

            I've never heard of Google but I've heard of http://www.dogpile.com/

            D 1 Reply Last reply
            0
            • L Lost User

              I've never heard of Google but I've heard of http://www.dogpile.com/

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

              systemerror121 wrote:

              I've never heard of Google

              I take it you've been living in a cave with no Internet access for the last 5 years?

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

              P 1 Reply Last reply
              0
              • E Enobong Adahada

                How do i check if a method exist in a named class library ? thanks.

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

                You could use a tool like ILDASM or Reflector to have a look at the code behind the class file.

                The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it. My latest tip/trick - Silverlight *.XCP files. Visit the Hindi forum here.

                1 Reply Last reply
                0
                • D Dave Kreskowiak

                  systemerror121 wrote:

                  I've never heard of Google

                  I take it you've been living in a cave with no Internet access for the last 5 years?

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

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

                  You found Bin Laden. :omg:

                  "WPF has many lovers. It's a veritable porn star!" - Josh Smith

                  As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

                  My blog | My articles | MoXAML PowerToys | Onyx

                  1 Reply Last reply
                  0
                  • L Lost User

                    http://www.dreamincode.net/code/snippet1539.htm[^] Hei.... never heard GOOGLE ? You find the answer there...!!!

                    _ Offline
                    _ Offline
                    _beauw_
                    wrote on last edited by
                    #9

                    Google is good, and the original question was pretty simple. But there has to be some line beyond which the "just Google it" response is not appropriate. Just because one particular implementation of full text search (i.e. Google) seems to be as good as any alternative at this particular moment in time does not mean that full text search is the most desirable tool to locate information. Quite likely, the OP is not as good at filtering out garbage from unrelated languages and libraries when doing such a search as you are. Quite possibly, his ability to access better-organized sources of information is limited by time and money. I'm not saying your response was wrong in this instance, I am just trying to inject a little perspective into the forum. Do we really want full text search to be the end-all/be-all of obtaining information on the Internet? I don't... my opinion is that once we reach the point where we rely primarily on dumb searching to locate data in a given data store, it's then time to reconsider the design of the data store; or, at a minimum, the use of other tools ought to be explored. If it weren't for Google (and its predecessors), maybe we would all have to open Com, and then open its Amazon subfolder to order books online. It sounds tedious... but if that were the case, then Amazon would probably have a more informative name, like "OnlineBookStore." Who's to say that would not have been a better initial direction for the Internet?

                    B 1 Reply Last reply
                    0
                    • _ _beauw_

                      Google is good, and the original question was pretty simple. But there has to be some line beyond which the "just Google it" response is not appropriate. Just because one particular implementation of full text search (i.e. Google) seems to be as good as any alternative at this particular moment in time does not mean that full text search is the most desirable tool to locate information. Quite likely, the OP is not as good at filtering out garbage from unrelated languages and libraries when doing such a search as you are. Quite possibly, his ability to access better-organized sources of information is limited by time and money. I'm not saying your response was wrong in this instance, I am just trying to inject a little perspective into the forum. Do we really want full text search to be the end-all/be-all of obtaining information on the Internet? I don't... my opinion is that once we reach the point where we rely primarily on dumb searching to locate data in a given data store, it's then time to reconsider the design of the data store; or, at a minimum, the use of other tools ought to be explored. If it weren't for Google (and its predecessors), maybe we would all have to open Com, and then open its Amazon subfolder to order books online. It sounds tedious... but if that were the case, then Amazon would probably have a more informative name, like "OnlineBookStore." Who's to say that would not have been a better initial direction for the Internet?

                      B Offline
                      B Offline
                      Bernhard Hiller
                      wrote on last edited by
                      #10

                      And using Google, you may find your question posted by someone else with a "let me google that for you" answer only...

                      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