MyDevBank

MyDevBank

summaries and tech views for new developers C#,asp.net for web\mobile development,databases,iis6 and more.
Creating this site was an idea that popped up after some programing years, when you have to get back to the same things you all ready forgot, while new stuff is arriving to town. In this site you can find summaries on tech stuff im into, so for a stable wide base knowledge pyramid ,enjoy!!

C# Modifiers

Access Modifier public a keyword for low permission access level class or class members.
Access Modifier private private members are accessible only within the class they are declared in.
Access Modifier internal Internal members are accessible only within the same assembly, reference to the assembly wont help.
Access Modifier protected You have to create a new instance of the base class in the dirived class to be able
to use a protected member of the base class,this is how he is protected.
class A
{protected string x = "i'm protected";}
class B : A
{
   void F()
   {
      A a = new A();
      B b = new B();
      a.x = "change"; // Error A is not a dirived instance
      b.x = "change"; // OK
   }
}
abstract Indicate that a class is intended only to be a base class of other classes.
an abstract member must be implemented in the dirived class.
const Specify that the value of the field or the local variable cannot be modified.
event Declare an event.
override Provide a new implementation of a virtual member inherited from a base class with the same signature.
sealed Specify that a class cannot be inherited.
static Declare a member that belongs to the type itself rather than to a specific object.
virtual Declare a method or an accessor whose implementation can be changed by an overriding member in a derived class.
Comment | Related Tags

HOME| IIS6 pipeline| ASP.NET pipeline| Http Modules| Http Handlers| Caching| Web Services| Page Life Cycle| Ajax| Jquery| Session State
ViewState| SEO| Mobile Basics| Mobile Handsets| C# Modifiers| C# Keywords| N-Tier| Design patterns| Stack & Heap| WCF
Databases| Relational Model| functionalities| Stored procedures| fishmarket
MyDevBank
© 2010 All Rights Reserved