Having Fun…
On my wife’s blog (2SecondsFaster.com) we put up a “Saturday Mixer” and it is a weekly “you take over the conversation” post. As a joke, I thought I would put the post rules up in VB.NET code. Below is my code for a simple Console App.
Code Snippet
- Module saturdayMixer
- Sub Main()
- Dim saturdayMixer As String
- Console.WriteLine("Do you know the rules? (y or n)")
- saturdayMixer = Console.ReadLine()
- ' saturdayMixer = Console.ReadLine()
- If saturdayMixer = "y" Then
- Console.WriteLine("Welcome to the Saturday Mixer!" & ControlChars.CrLf _
- & "You know the rules so let us know what is on your mind and discuss whatever you want.")
- ElseIf saturdayMixer = "n" Then
- Console.WriteLine("You know the drill:" & ControlChars.CrLf _
- & "1. Most topics are fair game as long as it has some decency." _
- & ControlChars.CrLf _
- & "2. If a topic just becomes a series of personal attacks," _
- & ControlChars.CrLf & "the comments will be closed." _
- & ControlChars.CrLf _
- & "3. This is for discussions and not wars." _
- & ControlChars.CrLf _
- & "4. All Lemmings must behave!")
- Else : Console.WriteLine("At least play nice!")
- End If
- Console.WriteLine("Goodbye.")
- Console.ReadLine()
- End Sub
- End Module
Here is the console app for you Windows people… (open and use at your own risk).
Related posts:
