Posts Tagged ‘disable’

Removing Warnings from CSharp Compile Cycle

File name            	:DSCN4983.JPG</p> <p>File size            	:391.4KB(400749Bytes)</p> <p>Date taken           	:0000/00/00 00:00:00</p> <p>Image size           	:1600 x 1200</p> <p>Resolution           	:300 x 300 dpi</p> <p>Number of bits       	:8bit/channel</p> <p>Protection attribute 	:Off</p> <p>Hide Attribute       	:Off</p> <p>Camera ID            	:N/A</p> <p>Camera               	:E775</p> <p>Quality mode         	:NORMAL</p> <p>Metering mode        	:Matrix</p> <p>Exposure mode        	:Programmed auto</p> <p>Speed light          	:No</p> <p>Focal length         	:16.7 mm</p> <p>Shutter speed        	:1/417second</p> <p>Aperture             	:F4.8</p> <p>Exposure compensation	:0 EV</p> <p>White Balance        	:Auto</p> <p>Lens                 	:Built-in</p> <p>Flash sync mode      	:Normal</p> <p>Exposure difference  	:N/A</p> <p>Flexible program     	:N/A</p> <p>Sensitivity          	:Auto</p> <p>Sharpening           	:Auto</p> <p>Image Type           	:Color</p> <p>Color Mode           	:N/A</p> <p>Hue adjustment       	:N/A</p> <p>Saturation Control   	:N/A</p> <p>Tone compensation    	:Normal</p> <p>Latitude(GPS)        	:N/A</p> <p>Longitude(GPS)       	:N/A</p> <p>Altitude(GPS)        	:N/A One of the things I try to do when I’m working on my csharp projects is to make sure I don’t have any compile errors or warnings.  The reason for removing the errors is probably obvious–if you have an error, your code isn’t going to run at that place.  But what about the warnings?

Well, warnings are there because they are potential errors, things you really ought to fix because they could end up causing unexpected results in your program.

Read the rest of this entry »