Skip to content

Instantly share code, notes, and snippets.

@natelowry
Created January 24, 2013 22:53
Show Gist options
  • Save natelowry/4629096 to your computer and use it in GitHub Desktop.
Save natelowry/4629096 to your computer and use it in GitHub Desktop.
int thisIsAVariable = 3;
public double ReturnSomething(double[] arr){
arr[0] = 1.0f;
var myVar = string.Empty;
return arr[2];
}
@natelowry
Copy link
Author

Shouldn't you check to see that arr is not_null before using it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment