Sunday, April 17, 2011
What is Backlink
Also known as incoming links, inbound links, inlinks, and inward links.
Google interprets a link from page A to page B as a vote, by page A, for page B.
Reference
http://en.wikipedia.org/wiki/Backlink
Google interprets a link from page A to page B as a vote, by page A, for page B.
Reference
http://en.wikipedia.org/wiki/Backlink
Saturday, April 16, 2011
How to solve "Object reference not set to an instance of an object"
Before refer any method or property in an instance of class, make sure the instance is not null
class Class1
{
public void AnotherExampleMethod()
{
}
}static void Main(string[] args)
{
var exampleClass = new Class1(); exampleClass.AnotherExampleMethod(); //OK
var exampleClass1 = null;
exampleClass1.AnotherExampleMethod(); ////NullReferenceException here. Object reference not set to an instance of an object
}
Subscribe to:
Posts (Atom)