Standard Type Casting and "as" Operator Conversions

Posted by: ASPAlliance.com - The #1 ASP.NET Community, on 09 Feb 2009 | View original | Bookmarked: 0 time(s)

Converting objects from one type to another is a common practice in software development. When dealing with this, it is important to understand the difference between standard casting and using the "as" operator to convert. In this article, Brendan explains this difference and when to use each type of conversion. His code snippets demonstrate the information he is explaining in the article.

Category: .NET | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 914 | Hits: 51

Similar Posts

  • Fun with C# 4.0s dynamic more
  • An Extensive Examination of LINQ: Grouping and Joining Data more
  • Binding a ComboBox to Enum Values with RadControls for Silverlight more
  • Using jQuery Grid With ASP.NET MVC more
  • An Extensive Examination of LINQ: The Standard Query Operators more
  • Quantum computing done right more
  • An Extensive Examination of LINQ: The Ins and Outs of Query Operators more
  • An Extensive Examination of LINQ: Lambda Expressions and Anonymous Types more
  • Dynamic Delegates with Expression Trees more
  • An Extensive Examination of LINQ: Extension Methods, Implicitly Typed Variables, and Object Initializers more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD