Skip to content

SadhanaTech/C--Language

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C--Language

Program structure of C#

-> The c# program is created in to a compliant unit.Different contents are in given order. (1) Importing the namspace(s). (2) Creating the user defined namespaces. (3) Within the namespace(user defined) we can add one or more type definations including class,interface, enum,struct and deligates.

Naming convetions

-->In .NET environment We should follow the following guideliness to name our entities.

(1) Namespace name must be in pascle case.( e.g namespace MyData).
(2) Type name also be in the pascle case. (e.g class MyDataClass).
(3) Type should be public.
(4) Fields and datamember must be private.
(5) private name should be in camel case or we can use "_" as prefix. (e.g int _ammount;)
(6) Public methods,properties must be in pascle case.
(7) Constants should be always in upper case .
(8) Never use underscore with any public entity.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%