Change Shadow type C#

I’m busy designing a graphical menu and I cant find shadow type in QualitySettings (C# script. E.G. QualitySettings.ShadowType). The closest thing i can find to changing the shadow type is using light.shadowSoftness but that is depreciated. So how do I go about changing the Shadow type in script using C#. Thanks.

So i found the Answer thanks to raphu604, you use

light.shadows = LightShadows.Hard;