MD. ROFIQUL ISLAM


Md. Rofiqul Islam is a Software Engineer of ASA International a world renowned Microfinance Organization originated in Bangladesh. He completed B.Sc. and M.Sc. in Information & Communication Engineering (ICE) from Islamic University, Bangladesh. He is experienced in Microsoft Technology such as Asp.net/C#, ASP.Net MVC, SQL Server, and Object Oriented Analysis and Design. He is an Microsoft Certified Technology Specialist (MCTS) and Certified Ethical Hacker (CEH),he has more than 7 years of working experience in Microsoft technology.


Articles Archives
March, 2017 (1)
December, 2016 (1)
November, 2016 (1)
October, 2016 (1)
September, 2016 (1)
August, 2016 (1)
December, 2015 (1)

P_Article

Access Modifiers in C# (public, private, protected, internal, protected internal)

Introduction:

Access modifiers ensures the level of permission to access class members. By declaring these access modifiers, we are defining from where it can be used.

Description

There are 4 major types of access modfiers. These are

  1. Public
  2. Private
  3. Protected
  4. Internal
  5. Protected Internal

Public

sdh

sdhs

dhdh

<div >

public ActionResult Index()
{

      ViewBag.Message = "Most recent posts:";
       var articles = new List<P_Article>();
       try
      {
           articles = P_Article.FindAll().ToList();
}
catch (Exception ex)
{
Console.WriteLine(ex.Message);
}
return View(articles);

}

jj

Modified Date:Thursday, January 12, 2017
Share on

Md. Rofiqul Islam
M.Sc., MCTS, CEH
Software Engineer, Bangladesh.
I am a learner throughout my life. I have completed BSc & MSc in Information & Communication Engineering from Islamic University, Bangladesh. I am having over 7 years of working experience in Microsoft Technology. I'm fond of learning through sharing knowledge.
Copyright © 2017 Md. Rofiqul Islam, Email: rofiq.ict@gmail.com