近期开始接触到在校学生、高校实习生和毕业生,在此说一下笔者对这些徘徊在职场门口的学生一些建议,希望能给这些初学者进入软件开发行业带来一些帮助,使得毕业生能更顺利的进入软件开发公司开始职场生涯,人生来一个完美的转弯。
------------------------------------------------------------------------------------
public
static class MyStaticClass
{
public static int Sum(int a, int b)
{
return a + b;
}
}
|
public
abstract class MyAbstractClass
{
public abstract int Sum(int a, int b);
public int Div(int a, int b)
{
return a / b;
}
}
|
public
class MyClassFromMyAbstractClass : MyAbstractClass
{
public override int Sum(int a, int b)
{
return a + b;
}
}
|
public
class MyClassFromMyAbstractClass : MyAbstractClass
{
public override int Sum(int a, int b)
{
throw new NotImplementedException();
}
}
|
MyAbstractClass instance =
new MyClassFromMyAbstractClass();
instance.Div(1, 2);
instance.Sum(3, 4);
|
MyClassFromMyAbstractClass instance2 =
new MyClassFromMyAbstractClass();
instance2.Div(1, 2);
instance2.Sum(3, 4);
|
public
sealed class MySealedClass
{
public int Sum(int a, int b)
{
return a + b;
}
}
|