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. The Lounge
  3. WTSOTCOTD

WTSOTCOTD

Scheduled Pinned Locked Moved The Lounge
question
25 Posts 13 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 Emmanuel Medina

    Genre: Pop Considering the next:

    public enum BodyParts
    {
    Head,
    Torso,
    Arms,
    Legs,
    None
    }

    And this:

    public class Person
    {
    BodyParts bodyPart;

    public Person() : this(BodyParts.None);

    public Person(BodyParts part)
    {
    bodyPart = part;
    }

    public void Remove(Object target)
    {
    if (bodyPart == BodyParts.Head)
    throw new Exception("Can't perform operation");
    }
    }

    What's the song of this code?:

    var you = new Person();
    var me = new Person(BodyParts.Head);
    me.Remove(you);

    If you think you can do a thing or think you can't do a thing, you're right - Henry Ford Emmanuel Medina Lopez

    G Offline
    G Offline
    GuyThiebaut
    wrote on last edited by
    #21

    Metallica - One. A completely wild guess :^)

    “That which can be asserted without evidence, can be dismissed without evidence.”

    ― Christopher Hitchens

    E 1 Reply Last reply
    0
    • G GuyThiebaut

      Metallica - One. A completely wild guess :^)

      “That which can be asserted without evidence, can be dismissed without evidence.”

      ― Christopher Hitchens

      E Offline
      E Offline
      Emmanuel Medina
      wrote on last edited by
      #22

      Shhhh don't reveal tomorrow's one.

      If you think you can do a thing or think you can't do a thing, you're right - Henry Ford Emmanuel Medina Lopez

      1 Reply Last reply
      0
      • E Emmanuel Medina

        Did you guess the song and then googled?

        If you think you can do a thing or think you can't do a thing, you're right - Henry Ford Emmanuel Medina Lopez

        A Offline
        A Offline
        Andrew Rissing
        wrote on last edited by
        #23

        Yeah, I guessed the song name based on the code and the top of the list showed a 'pop' type artist. So, I assumed I got it right. ;-)

        1 Reply Last reply
        0
        • A Argonia

          Noooo don't ...damn ...another lost soul

          A Offline
          A Offline
          Andrew Rissing
          wrote on last edited by
          #24

          Ha, hardly...I didn't listen to the music. ;)

          1 Reply Last reply
          0
          • E Emmanuel Medina

            Genre: Pop Considering the next:

            public enum BodyParts
            {
            Head,
            Torso,
            Arms,
            Legs,
            None
            }

            And this:

            public class Person
            {
            BodyParts bodyPart;

            public Person() : this(BodyParts.None);

            public Person(BodyParts part)
            {
            bodyPart = part;
            }

            public void Remove(Object target)
            {
            if (bodyPart == BodyParts.Head)
            throw new Exception("Can't perform operation");
            }
            }

            What's the song of this code?:

            var you = new Person();
            var me = new Person(BodyParts.Head);
            me.Remove(you);

            If you think you can do a thing or think you can't do a thing, you're right - Henry Ford Emmanuel Medina Lopez

            F Offline
            F Offline
            Flynn Arrowstarr Regular Schmoe
            wrote on last edited by
            #25

            First song that popped into my head was ELO's "Can't Get it Out of My Head" from their Eldorado album. Which is wrong, but accurately describes the Kylie Minogue earworm you just planted... :-\ Flynn


            _If we can't corrupt the youth of today,
            the adults of tomorrow will be no fun...
            _

            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