Dear all, I'm trying to clean some warnings in my C# project, and I've a couple of them saying:
Warning 1 The field 'Namespace.Class.components' is assigned but its value is
never used E:\WorkspacePath\Sources\Project\WorkItems\Class.designer.cs
If i look into the code, I can find:
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
I've read that this is indeed used by the designer, but he doesn't seem to use it at all. I would have deleted this line straight away if it wasn't for the comment. Commenting the line didn't seem to change the behavior of the designer, i could still open my menu view without any problems.
So my question is, is it safe to delete this line when i've the warning at compilation time, or this warning is rather "normal"? What should I do with it? Am I forgetting to do something with this component?
Thank you for your help,