5 Replies - 1020 Views - Last Post: 12 September 2013 - 02:09 PM Rate Topic: -----

#1 kate_22  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 12-September 13

.Net code for birthday message?

Posted 12 September 2013 - 01:53 PM

I don't want to waste anyone's time, but I was hoping for some quick help for my husband's birthday. After an awkward convo, I got him to tell me that the language he uses most is proprietary to his company, but 2nd most used is .Net(?) I am ignorant to all computer programming languages. I don't know if this is the same as asp.net.

I just wanted to give him a funny cake for his 30th birthday written in programming code that he would find funny.

I found this on another site, but he doesn't use Python and I don't know if the binary is correct for 30 years:

class Cake (Vanilla):
def celebrate(self, base = 3, years="10100"):
print "Happy Birthday!"
self.blow_out_candles()

Could anyone with free time tell me a message I could use in .Net that's similar?

Thank you!

Is This A Good Question/Topic? 0
  • +

Replies To: .Net code for birthday message?

#2 modi123_1  Icon User is offline

  • Suitor #2
  • member icon



Reputation: 9207
  • View blog
  • Posts: 34,589
  • Joined: 12-June 08

Re: .Net code for birthday message?

Posted 12 September 2013 - 01:58 PM

What other site did you find that on?
Was This Post Helpful? 0
  • +
  • -

#3 kate_22  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 12-September 13

Re: .Net code for birthday message?

Posted 12 September 2013 - 01:59 PM

programmingforums.org
Was This Post Helpful? 0
  • +
  • -

#4 Ryano121  Icon User is online

  • D.I.C Lover
  • member icon

Reputation: 1362
  • Posts: 3,002
  • Joined: 30-January 11

Re: .Net code for birthday message?

Posted 12 September 2013 - 02:00 PM

Not sure about what to use as the message but 30 in binary is 11110 :)
Was This Post Helpful? 0
  • +
  • -

#5 modi123_1  Icon User is offline

  • Suitor #2
  • member icon



Reputation: 9207
  • View blog
  • Posts: 34,589
  • Joined: 12-June 08

Re: .Net code for birthday message?

Posted 12 September 2013 - 02:02 PM

Okay.. so .NET wise .. did he say C# or VB.NET?
Was This Post Helpful? 0
  • +
  • -

#6 kate_22  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 12-September 13

Re: .Net code for birthday message?

Posted 12 September 2013 - 02:09 PM

He didn't. I know he knows both, but I would go with vb.net as I think I've seen him use that a lot
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1