Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Intuit // C# // listing_4.3 (StreamWriter // 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"); // или (@"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
checkvalidtraingle
ggg
Math v9.1
number to words in lithuanian
Distinct of the given array with each element occurence
5
Binary search iterative approach
D14
C# constructor in inheritance
MergeSort