Skip to content

Instantly share code, notes, and snippets.

@samueleresca
Created December 3, 2015 20:06
Show Gist options
  • Save samueleresca/78a1aabb33fc017a0465 to your computer and use it in GitHub Desktop.
Save samueleresca/78a1aabb33fc017a0465 to your computer and use it in GitHub Desktop.
//Class Telefilm
[Serializable]
public class Telefilm
{
public int TelefilmId { get; set; }
public string TelefilmName { get; set; }
public DateTime CreateDate { get; set; }
public bool ShouldSerializeCreateDate() {
return (!TelefilmName.Equals("Californication")); //Bool EXP
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment