Introduction
Task.WhenAny helps you wait for the first task to finish among many. It lets your program continue as soon as one task is done.
You start multiple downloads and want to use the first file that finishes.
You ask several servers for data and want to process the fastest reply.
You run multiple calculations and want to get the earliest result.
You want to respond quickly when any user action happens among many options.