hello again

i wrote a class but not able to see the output in visual studio

Public Class Class1
    Public Shared Sub Main()

        Console.WriteLine(Min(10.1, 10))
        Console.WriteLine(Min("last", "first"))
        Console.WriteLine(Min(#1/1/2000#, #3/4/2000#))
        Console.ReadLine()
    End Sub
    Overloads Shared Function Min(ByVal dblA As Double, ByVal dblB As Double) As Double
        Min = IIf(dblA < dblB, dblA, dblB)
    End Function

    Overloads Shared Function Min(ByVal strA As String, ByVal strB As String) As String
        Min = IIf(strA < strB, strA, strB)
    End Function

    Overloads Shared Function Min(ByVal dteA As Date, ByVal dteB As Date) As Date
        Min = IIf(dteA < dteB, dteA, dteB)
    End Function


End Class

Also is there an option other than Console.ReadLine() to stop output screen from running off

>Also is there an option other than Console.ReadLine() to stop output screen from running off

Debug Menu + Start Without Debugging.

Ok thanks. Can i get an answer for my question. I am in dire state with Visual studio i chose console application as new project. It does not recognize my code eg Form, button

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.