C-Sharp

Thursday, February 10, 2011

Methods

No Global Methods


Just like Java and unlike C++, methods in C# have to be part of a class either as member or static methods.
Posted by Rekha Kumari at 10:41 AM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: C# from Java's Perspective, method

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ▼  2011 (29)
    • ▼  February (29)
      • DbUtils.cs
      • Enumerations
      • Generics
      • for-each Loop
      • Metadata Annotations
      • Calling Base Class Constructors and Constructor Ch...
      • Variable Length Parameter Lists
      • Array Declarations
      • Declaring Constants
      • Primitive Types
      • Reflection
      • Access Modifiers
      • Constructors, Destructors and Finalizers
      • Synchronizing Methods and Code Blocks
      • Namespaces vs Packages
      • Run Time Type Identification (is operator)
      • Main Method
      • Boxing
      • Member Initialization at Definition and Static Con...
      • Throwing and Catching Exceptions
      • Inheritance in c# and java
      • Strings Are Immutable
      • Methods
      • Arrays Can Be Jagged
      • Heap Based Classes and Garbage Collection
      • Keyword Jumble
      • Of Virtual Machines and Language Runtimes
      • We are all objects
      • C# interview questions and answers
  • ►  2010 (5)
    • ►  December (3)
    • ►  November (2)

About Me

Rekha Kumari
View my complete profile
Simple theme. Powered by Blogger.