---
title: "DirectCast"
url: "https://osherove.com/blog/2003/7/10/directcast.md"
canonical: "https://osherove.com/blog/2003/7/10/directcast.html"
published: "2003-07-10T20:34:00"
updated: "2003-07-10T20:34:00"
tags: [".Net Quotations"]
author: "Roy Osherove"
description: "For us VB.Net programmers. You should know about DirectCast . (via Paul Vick )"
usage: "Licensed under CC BY 4.0 — reuse, quote and adapt with attribution (Roy Osherove, link to the original page)."
license: "https://creativecommons.org/licenses/by/4.0/"
---

# DirectCast

By Roy Osherove July 10, 2003 In [.Net Quotations](https://osherove.com/blog/category/net-quotations)

**Historical article** · Originally published July 10, 2003; technical details may be outdated.

For us VB.Net programmers. You should know [about DirectCast](http://www.panopticoncentral.net/commentview.aspx/8c666b6b-8933-488a-aa7c-f42c52873824). (via [Paul Vick](http://www.panopticoncentral.net/))

## More in .Net Quotations

[All posts in .Net Quotations](https://osherove.com/blog/category/net-quotations)

- Jul 14, 2003

    ### [Another brain killer from Chris Brumme](https://osherove.com/blog/2003/7/14/another-brain-killer-from-chris-brumme.html)

- Jul 11, 2003

    ### [Quake II .Net](https://osherove.com/blog/2003/7/11/quake-ii-net.html)

- Jul 10, 2003

    ### [Downloadable MSDN magazine](https://osherove.com/blog/2003/7/10/downloadable-msdn-magazine.html)

- Jul 9, 2003

    ### [Patterns](https://osherove.com/blog/2003/7/9/patterns.html)


---

## About the author

**Roy Osherove**: Senior Solutions Architect at AWS working on AI for production and AI-driven development; author of The Art of Unit Testing and Elastic Leadership, with about 20 years of consulting and training on unit testing, TDD, team leadership and continuous delivery.

### Sites

- [RobotPaper](https://robotpaper.ai/): This blog: AI patterns and anti-patterns, AI and coding agents, and engineering leadership.
- [osherove.com](https://osherove.com): Roy's personal site. Author of The Art of Unit Testing and Elastic Leadership; consulting and training on unit testing, TDD, team leadership and continuous delivery, plus about 20 years of blog posts.
- [The Art of Unit Testing](https://www.artofunittesting.com): The Art of Unit Testing, 3rd Edition (Manning): readable, maintainable, trustworthy unit tests, plus TDD workshops in C#, JavaScript, Java and Kotlin.
- [5whys.com](https://www.5whys.com): Roy's writing on software team leadership: self-organizing teams, surviving chaos, learning mode and the Elastic Leadership model.
- [Pipeline Driven](https://pipelinedriven.org): Continuous delivery and DevOps practices: build patterns, pipeline-friendly testing, DevOps metrics and enterprise DevOps.
- [Elastic Leadership](https://www.elasticleadership.com): Elastic Leadership, Roy's framework for software team leaders (survival, learning and self-organizing modes).

### Social

- X: https://x.com/royosherove
- LinkedIn: https://www.linkedin.com/in/osherove/

### Contact

- Contact form: https://forms.gle/jQSx5KoXvrVA1JCK7

### License

Licensed under CC BY 4.0 — reuse, quote and adapt with attribution (Roy Osherove, link to the original page). License: https://creativecommons.org/licenses/by/4.0/
