skip to main | skip to sidebar

sowjanya

Gathering all C#.NET Interview Related Questions

Monday, May 21, 2007

Parameters and Return Values versus Global Data

Limitations on using the global variables are:
· The global data might be modified by code elsewhere in your application, which could cause unpredicted results
· There are times when you only ever want to use a function for one purpose, and using a global data store reduces the possibility that you will make an error in a function call, perhaps passing it with the wrong variable.
Posted by sowjanya at 2:39 PM

No comments:

Post a Comment

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

Blog Archive

  • ▼  2007 (38)
    • ▼  May 2007 (37)
      • ASP.NET
      • ADO.NET
      • C# Language Features
      • Constructor/Destructor
      • Access Specifiers
      • OOPS
      • COM
      • Jagged Arrays
      • Debugging and Error Handling
      • Delegates
      • Overloading Functions
      • Struct Functions
      • The Main() Function
      • Parameters and Return Values versus Global Data
      • Variable Scope
      • Out Parameter
      • Reference and Value Parameters
      • Functions
      • Microsoft .NET Framework Questions
      • More About Variables - Type Conversions and Comple...
      • Flow Control
      • Deploying Windows Applications
      • Garbage Collection
      • CLR, CTS, CLS, JIT, MSIL, Managed Code
      • .NET Data Types
      • Reflections
      • Custom Attributes
      • Built-In Attributes
      • Attributes
      • Private and Shared Assemblies
      • Structure Of Assemblies
      • .NET and COM interop questions
      • .NET Deployment Questions
      • .NET Assembly Features
      • .NET Assemblies and Components
      • DLL Hell Problem
      • Understanding C# .NET
    • ►  Mar 2007 (1)

About Me

sowjanya
View my complete profile