How to use wireless casting?

Requirements:
1) The target device supports casting
2) The target device is connected to the same Wi-Fi.

How to do it:
1) On the target device of the screen, such as TV, open the screen cast application.
2) On phone (1) go to Settings>Connect Devices>Connection Preferences>CASTS to search for the targeted device to cast to.