Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Warnings in C# program
Message
General information
Forum:
ASP.NET
Category:
Other
Title:
Warnings in C# program
Environment versions
Environment:
C# 3.0
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01433654
Message ID:
01433654
Views:
134
I am getting a couple warnings in Visual Studio for my C# program.

Field "Hour1.OptionsForm.Components is never assigned to, and will always have its default value null."

I am trying to interpret what is being said here, but don't know what the warning means. Anyone guess? The warning pertains to line 8, column 50 of the following:
namespace Hour1
{    
  partial class OptionsForm
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components;

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }
Next
Reply
Map
View

Click here to load this message in the networking platform