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
Binary search, IComparer, in lambda expressions style
circleTest
30272 Example2
Next Letter
Find Largest Number
Use ConcurrentQueue and ConcurrentDictionary with TPL (Simple example)
Stack as a queue
Test equality
String to keycode and switch check
dynamic object