i get the error
Code:
error C2061: syntax error : identifier '{ctor}'
when trying to compile the second and third lines of this snippet in visual c++ 2005 with all the default compiler options set with a windows form application project:

Code:
String^ path = String::Concat(directory->Text,origName->Text);
FileStream^ fs = gcnew FileStream::FileStream(path,FileMode::Open,FileAccess::Read);
FileInfo^ fi = gcnew FileInfo::FileInfo(path);
i tried going through the msdn kb, but i couldn't figure out what was wrong. i also googled it, but still couldn't figure it out.