Advertisement
archangelmihail

Deafult New Console Project Template

Sep 13th, 2014
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.51 KB | None | 0 0
  1. namespace Default
  2. {
  3.     using System;
  4.     using System.Collections.Generic;
  5.     using System.IO;
  6.     using System.Linq;
  7.     using System.Text;
  8.     using System.Threading.Tasks;
  9.  
  10.     public class Program
  11.     {
  12.         private static string testFilePath = "../../Tests/test.000.001.in.txt";
  13.  
  14.         public static void Main(string[] args)
  15.         {
  16.             if (File.Exists(testFilePath))
  17.             {
  18.                 Console.SetIn(new StreamReader(testFilePath));
  19.             }
  20.  
  21.  
  22.         }
  23.     }
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement