Show / Hide Table of Contents

Using File Scoped Namespaces

As of version 100, we have moved to using file scoped namespaces, introduced as part of the C# 10 specification. For more information, click here.

Before

    namespace Krypton.Toolkit
    {
        public class KryptonClass
        {
            // Logic goes here...
        }
    }

After

    namespace Krypton.Toolkit;
    
    public class KryptonClass
    {
        // Logic goes here...
    }
Back to top Krypton Component Suite 2024 BSD 3-Clause License © Component Factory Pty Ltd, 2006 - 2016, All rights reserved. Modifications by Peter Wagner (aka Wagnerp), Simon Coghlan (aka Smurf-IV), Giduac & Ahmed Abdelhameed et al. 2017 - 2025. All rights reserved. https://github.com/Krypton-Suite