File Stream C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
class Utility
{
    internal static IDbDataParameter AddOutputParam(this IDbCommand command, string name, DbType type)
    {
        IDbDataParameter param = command.CreateParameter();
        param.ParameterName = name;
        param.DbType = type;
        param.Direction = ParameterDirection.Output;
        command.Parameters.Add(param);
        return param;
    }
    internal static void AddInputParam(this IDbCommand command, string name, object value)
    {
        IDbDataParameter param = command.CreateParameter();
        param.ParameterName = name;
        param.Value = value;
        command.Parameters.Add(param);
    }
}