Abstract modifiers
I learned a new thing today, while talking to my friend through G+. Too lazy to be original on my thoughts on it cause I have to code now. But here is what an abstract modifier is.
“The abstract modifier indicates that the thing being modified has a missing or incomplete implementation. The abstract modifier can be used with classes, methods, properties, indexers, and events. Use the abstract modifier in a class declaration to indicate that a class is intended only to be a base class of other classes. Members marked as abstract, or included in an abstract class, must be implemented by classes that derive from the abstract class.”
http://msdn.microsoft.com/en-us/library/sf985hc5.aspx
Easy peasy.
Cute.
Blocking my sites for the day to protest PIPA. Calling my Senator today to make a stand. What are you doing about it?
Snippets: String to enumerated values
Useful code I use to convert string values to its enumerated counter parts.
public static T StringToEnum<T>(string name)
{
return (T)Enum.Parse(typeof(T), name, false);
}
public static T NumToEnum<T>(int number)
{
return (T)Enum.ToObject(typeof(T), number);
}
Pretty cool. Lois Lane uses a Windows Phone on an episode of Smallville. Just saw this during lunch today. I had to record it. Although, I am sure I am the last to know of course.
Nokia Lumia 900 Release Date Set For March 18th?
Guess what I am getting in March? Excited!
Apple <3
Watching Fraggle Rock.
Sprint: “We’re Cautiously Optimistic [on Windows Phone]“
Lazy, lazy Sprint…tsk tsk tsk

