# \#handle

**URL:** https://verificationacademy.com/forums/tag/handle/6553.md

[Latest](https://verificationacademy.com/forums/latest.md) · [Categories](https://verificationacademy.com/forums/categories.md) · [Tags](https://verificationacademy.com/forums/tags.md)

---

## [Can cast class type from another class? (Want to reduce redundant part)](https://verificationacademy.com/forums/t/can-cast-class-type-from-another-class-want-to-reduce-redundant-part/34728)

<div class="topic-metadata">

**Author:** [@lycos007](https://verificationacademy.com/forums/u/lycos007)\
**Replies:** 3\
**Last updated:** [July 25, 2018, 1:01pm UTC](https://verificationacademy.com/forums/t/can-cast-class-type-from-another-class-want-to-reduce-redundant-part/34728 "2018-07-25T13:01:34Z")

</div>

I want to reduce redundant parts from my code. my code make a class handle(same handle name) from different class. and it is determined by its argument. for example, \`ifdef useClassA classA handle; common part; \`e…
