Not logged in. · Lost password · Register
Forum: Playground RSS
Nog een C# tekst
Ben (Guest) #1
No profile available.
Link to this post
Subject: Nog een C# tekst
  1. static void Main (string[] args)
  2. {
  3.  int x = 14;
  4.  int y = 12;
  5.  
  6.  double g = y + x;
  7.   Console.WriteLine(g);
  8.  
  9.  
  10. }
Ben (Guest) #2
No profile available.
Link to this post
  1. using System;
  2.  
  3. namespace RefactoringExamples
  4. {
  5.   class Program
  6.  {
  7.     static void Main(string[] args)
  8.     {
  9.       Console.WriteLine("*** Please enter your credentials ***");
  10.            
  11.       // Get user name and password.
  12.       string userName;
  13.       string passWord;         
  14.       Console.Write("Enter User Name: ");
  15.       userName = Console.ReadLine();
  16.       Console.Write("Enter Password: ");
  17.       passWord = Console.ReadLine();
  18.  
  19.     }
  20.  }
  21. }
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
This board is powered by the Unclassified NewsBoard software, 20110527-dev, © 2003-2011 by Yves Goergen
Page created in 159 ms (74.4 ms) · 32 database queries in 128.6 ms
Current time: 2012-02-07, 20:31:10 (UTC +01:00)