Sorry for repost, my mistake(
namespace shptomif
{
class Program
{
static void Main(string[] args)
{
Shapefile shp = new Shapefile();
if (!shp.Open(@"..\..\Data\Austinstreets.shp", null))
Console.WriteLine(shp.ErrorMsg[shp.LastErrorCode]);
Console.ReadKey();
}
}
}