//Visual Basic 2010 Argumenten - ByVal en ByRef Procedures en Functies public class Example3 { void Main() { this.ShowMenuError(); Example2.ShowError("message 1"); string someMessage = "message 2"; Example2.ShowError(someMessage); Example2.ShowError((("message" + " ") + "3")); Example2.ShowError(Console.ReadLine()); Console.ReadLine(); } } //Bezoek www.vbvoorbeelden.be voor meer C# voorbeelden. //Copyright - De Wolf / vbvoorbeelden - 2003-2011 - Alle rechten voorbehouden.