Delphi Error – E2470 Linker detected duplicate name ‘%s’ made from type ‘%s’ in unit ‘%s’ and conflicting with compiler generated class name for unit ‘%s’

Delphi Compiler Error

E2470 Linker detected duplicate name ‘%s’ made from type ‘%s’ in unit ‘%s’ and conflicting with compiler generated class name for unit ‘%s’

Reason for the Error & Solution

This occurs when there is a naming conflict between the current unit and a class name generated by the compiler.