|
|
Cry about...
|
| Name | Namespace |
|---|---|
| ArrayList | System.Collections |
| ASCIIEncoding | System.Text |
| BasicHttpBinding | System.ServiceModel |
| BasicHttpSecurity | |
| BinaryFormatter | System.Runtime |
| Bindable as in <Bindable ... |
System.ComponentModel |
| Bitmap | System.Drawing |
| Browsable as in <Browsable ... |
System.ComponentModel |
| Brush | System.Drawing |
| Button | System.Web.UI.WebControls |
| CancelEventArgs | System.ComponentModel |
| CheckBoxList | System.Web.UI.WebControls |
| Color | System.Drawing |
| ColorMatrix | System.Drawing.Imaging |
| ComboBox | System.Windows.Forms |
| CompositeControl | System.Web.UI.WebControls |
| CompositeControlDesigner | System.Web.UI.Design.WebControls |
| ConcurrentBag | System.Collections.Concurrent |
| Control | System.Web.UI |
| ControlCollection | System.Web.UI |
| CultureInfo | System.Globalization |
| DataRow | System.Data |
| DataTable | System.Data |
| DateTimeFormatInfo | System.Globalization |
| DefaultProperty as in <DefaultProperty ... |
System.ComponentModel |
| DefaultValue as in <DefaultValue ... |
System.ComponentModel |
| Description as in <Description ... |
System.ComponentModel |
| DescriptionAttribute | System.ComponentModel |
| DESCryptoServiceProvider | System.Security.Cryptography |
| DialogResult | System.Windows.Forms |
| Dictionary as in Dictionary(Of ... |
System.Collections.Generic |
| DictionaryEntry | System.Collections |
| DirectoryInfo | System.IO |
| DllImport | System.Runtime.InteropServices |
| EventArgs | System |
| EventLog | System.Diagnostics |
| EventLogInstaller | System.Configuration.Install Note: Project needs a reference to system.configuration.install.dll |
| Exception | System |
| Expression | System.Linq.Expressions From .NET 3.5 |
| Extension as in <Extension()> |
System.Runtime.CompilerServices From .NET 3.5 |
| FieldInfo | System.Reflection |
| FileOutputStream | Java.IO Note: Project needs a reference to vjslib and server requires the Visual J# runtime. |
| FileStream | System.IO |
| FolderNameEditor | System.Windows.Forms.Design Note: Project needs a reference to System.Design, which is included in the full .NET framework but not in the cut down .NET Framework Client Profile. |
| Font | System.Drawing |
| FtpWebRequest | System.Net |
| FtpWebResponse | System.Net |
| Graphics | System.Drawing |
| GZipStream | System.IO.Compression From .NET 2.0 |
| HMACSHA1 | System.Security.Cryptography |
| HtmlHead | System.Web.UI.HtmlControls |
| HtmlMeta | System.Web.UI.HtmlControls |
| HtmlTextWriter | System.Web.UI |
| HttpRequest | System.Web |
| HttpRequestMessageProperty | System.ServiceModel.Channels |
| HttpRuntime | System.Web |
| HttpSessionState | System.Web.SessionState |
| HttpStatusCode | System.Net |
| HttpsTransportBindingElement | System.ServiceModel.Channels |
| HttpWebRequest | System.Net |
| HttpWebResponse | System.Net |
| HybridDictionary | System.Collections.Specialized |
| IClientMessageInspector | System.ServiceModel.Dispatcher |
| ICloneable | System |
| ICryptoTransform | System.Security.Cryptography |
| IEndpointBehavior | System.ServiceModel.Description |
| IEnumerator | System.Collections |
| IHTMLDocument2 | MSHTML Note: Project needs a reference to the Microsoft HTML Object Library. |
| ImageAttributes | System.Drawing.Imaging |
| Imaging | System.Drawing |
| IPAddress | System.Net |
| IPEndPoint | System.Net |
| IPGlobalProperties | System.Net.NetworkInformation |
| IPHostEntry | System.Net |
| ISerializable | System.Runtime.Serialization |
| Label | System.Web.UI.WebControls |
| List as in List(Of ...) |
System.Collections.Generic |
| ListBox | System.Web.UI.WebControls |
| ListDictionary | System.Collections.Specialized |
| ListItemCollection | System.Web.UI.WebControls |
| LiteralControl | System.Web.UI |
| MailAddress | System.Net.Mail |
| MailMessage | In .NET 1.1: System.Web.Mail From .NET 2.0: System.Net.Mail |
| ManagementScope | System.Management Note: Project needs a reference to System.Management. |
| Match | System.Text.RegularExpressions |
| MatchCollection | System.Text.RegularExpressions |
| MemberExpression | System.Linq.Expressions From .NET 3.5 |
| MemoryStream | System.IO |
| MethodBase | System.Reflection |
| Mutex | System.Threading |
| MutexSecurity | System.Security.AccessControl |
| NameValueCollection | System.Collections.Specialized |
| NetworkCredential | System.Net |
| Nullable | System |
| OdbcConnection | System.Data.Odbc |
| OdbcDataReader | System.Data.Odbc |
| OleDbCommand | System.Data.OleDb |
| OleDbConnection | System.Data.OleDb |
| OpenFileDialog | System.Windows.Forms |
| Page | System.Web.UI |
| PagesSection | System.Web.Configuration |
| ParameterDirection | System.Data |
| Pen | System.Drawing |
| Point | System.Drawing |
| PointF | System.Drawing |
| ProcessInfo | System.Web |
| ProcessStartInfo | System.Diagnostics |
| PropertyInfo | System.Reflection |
| ProviderException | System.Configuration.Provider |
| Queue as in Queue(Of ... |
System.Collections.Generic |
| RC2CryptoServiceProvider | System.Security.Cryptography |
| Regex | System.Text.RegularExpressions |
| RegistryKey | Microsoft.Win32 |
| RijndaelManaged | System.Security.Cryptography |
| SafeFileHandle | Microsoft.Win32.SafeHandles |
| ScriptManager | System.Web.UI |
| SemaphoreSlim From .NET 4. |
System.Threading |
| SerializationInfo | System.Runtime.Serialization |
| Socket | System.Net.Sockets |
| SolidBrush | System.Drawing |
| SortedList as in SortedList(Of ... |
System.Collections.Generic |
| SpinLock From .NET 4. |
System.Threading |
| SqlCommand | System.Data.SqlClient |
| SqlConnection | System.Data.SqlClient |
| SqlTransaction | System.Data.SqlClient |
| SslPolicyErrors | System.Net.Security |
| StackFrame | System.Diagnostics |
| StackTrace | System.Diagnostics |
| STAThreadAttribute as in <STAThreadAttribute ... |
System |
| Stopwatch | System.Diagnostics |
| Stream | System.IO |
| StreamingContext | System.Runtime.Serialization |
| StreamReader | System.IO |
| StreamWriter | System.IO |
| StringBuilder | System.Text |
| StringCollection | System.Collections.Specialized |
| StringReader | System.IO |
| StringWriter | System.IO |
| StructLayout as in <StructLayout ... |
System.Runtime.InteropServices |
| SymmetricAlgorithm | System.Security.Cryptography |
| TcpClient | System.Net.Sockets |
| TextBox | System.Web.UI.WebControls |
| TextInfo | System.Globalization |
| TextReader | System.IO |
| Thread | System.Threading |
| ThreadPriority | System.Threading |
| ToolboxData as in <... ToolboxData ... |
System.Web.UI |
| TripleDES | System.Security.Cryptography |
| TripleDESCryptoServiceProvider | System.Security.Cryptography |
| UpdateCheckInfo | System.Deployment.Application |
| UpdatePanel | System.Web.UI may also require a project reference to System.Web.Extensions |
| UTF8Encoding | System.Text |
| Unit | System.Web.UI.WebControls |
| WebClient | System.Net |
| WebControl | System.Web.UI.WebControls |
| WebRequest | System.Net |
| Win32Exception | System.ComponentModel |
| WindowsIdentity | System.Security.Principal |
| WindowsPrincipal | System.Security.Principal |
| X509Certificate | System.Security.Cryptography |
| X509Chain | System.Security.Cryptography |
| XmlDocument | System.Xml |
| XmlElement | System.Xml |
| XmlPreloadedResolver | System.Xml.Resolvers |
| XmlReader | System.Xml |
| XmlReaderSettings | System.Xml |
| XmlTextReader | System.Xml |
| XmlTextWriter | System.Xml |
| XslCompiledTransform | System.Xml.Xsl |
| ZipEntry | Java.Util.Zip Note: Project needs a reference to vjslib and server needs Visual J# runtime. |
| ZipInputStream | Java.Util.Zip Note: Project needs a reference to vjslib and server needs Visual J# runtime. |
| ZipOutputStream | Java.Util.Zip Note: Project needs a reference to vjslib and server needs Visual J# runtime. |
| Zone | System.Security.Policy |
I expect to add to this table over time.
These notes are believed to be correct for VB.Net and C# for .NET 1.1, .NET 2, .NET 3.5 and .NET 4, and may apply to other versions as well.
For the corresponding C# version of this article please see "The type or namespace name could not be found".
About the author: Brian Cryer is a dedicated software developer and webmaster. For his day job he develops websites and desktop applications as well as providing IT services. He moonlights as a technical author and consultant.