Im trying to pass a filename parameter from the function to the main functio:

Code:
using System;
using System.Text;
using System.IO;

namespace Reaingthingyiles

{
	class program{
        

        public static void  checkit(StreamReader file)
        
	{
		StreamReader thingy = new StreamReader(thingy);
    	while(!thingy.EndOStream)
    	{
...