Learning C# from Rob Miles’ Yellow Book. Quick Question.

if ( width > 5.0 )

{

Console.WriteLine ("Width too big,using maximum\n") ;

width = 5.0 ;

}

Why do you have to add "width = 5.0;" at the end of the statement?

by idkjulio via /r/csharp

Leave a Reply