Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Intuit // C# // listing_4.3 (StreamWriter // @"c:\Temp\output.txt")
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using System.IO namespace Rextester { public class Program { public static void Main(string[] args) { //Your code goes here //Console.WriteLine("Hello, world!"); StreamWriter f = new StreamWriter(@"c:\Temp\output.txt"); int i = 3; double y = 4.12; decimal d = 600m; string s = "Вася"; f.WriteLine("i= " + i); f.WriteLine("s= " + s); f.WriteLine("y={0}\nd {1}",y,d); f.Close(); } } }
run
|
edit
|
history
|
help
0
Task List
test
Random number generator
random number generator using array
Fórum ➡ Border of a string S with at least 3 non-overlapping solutions ( yield version ) ♦
Two lines of Random number
Fibonacci Series
Permutations of string
(1:14) ; expected
average and percentage