Quantcast
Channel: DotNetShoutout - Stories tagged with static
Viewing all articles
Browse latest Browse all 3

What is Static keyword in C# | Tech Samosa

$
0
0
In this post let us try to explore what is static keyword in C# Definition of static keyword As per MSDN, “Use the static modifier to declare a static member, which belongs to the type itself rather than to a specific object.” So it means that static keyword should be used with types which provide generic functionality and it doesn’t make sense to create objects of that type. For example, consider the System.Math class in c#. It provide various mathematical functions which can be used in the code as...
Shout it
Only $4.95/month – Windows 2008/ASP.NET 4 Hosting!

Viewing all articles
Browse latest Browse all 3

Latest Images

Trending Articles





Latest Images