if (file.size >= 100) //i KB do this else do that
FileInfo f = new FileInfo(fileName); long s1 = f.Length;