When we access the Codeunit Designer using the New button, a Codeunit structure is opened with the C/AL Editor active, as shown in the following screenshot:
Codeunits have no superstructure or surrounding framework around the single code OnRun() trigger. Codeunits are primarily a shell in which we can place our own functions and code so that it can be called from other objects.