Unused Warning With Warning Suppressed : warning « Preprocessing Directives « C# / CSharp Tutorial






using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;

    class UnusedWarningWithWarningSuppressed
    {
#pragma warning disable 0169
        int x;
#pragma warning restore 0169
    }








16.7.warning
16.7.1.warning preprocessor
16.7.2.Unused Warning With Warning Suppressed