|
by: fred |
last post by:
Hi, can someone please explain to me how a static member of a class works.
For example if I have:
public Class1
public static Class2 myClass2 = new Class2;
public static Int16 thisValue = 200;...
|
by: Wayne |
last post by:
Hi,
I'm new to .NET and have a question about the use of static variables vs.
session variables in a web form in C#.
Instead of using a session variable to hold a string to persist during...
|
by: Chris Bardon |
last post by:
I'm working on a class library in .net, and am having a problem that I
can only describe as a memory leak (which garbage collection was
supposed to eliminate). My class library contains a single...
|
by: Flare |
last post by:
Hi im trying to prevent people from useing more than one browser to view my
page.
But first i need to know excatly how static members of a form class is
behaving.
When is the IntanceCounter...
|
by: Mantorok |
last post by:
Hi
I have an ASP app which references a few static properties in some of the
classes. I understand that you should use Session variables, but is it
"possible" to have each session "not"...
|
|
by: james |
last post by:
Hi
I am considering storing my session variables within one static object
with session scope. The static object will be a class with accessor
functions to get and set the equivalent session...
|
by: cobus.lombard |
last post by:
I have found it very easy to have a Helper class that has static
members which access Session Variables. For example:
public class HelperClass
{
public static doCustomer CurrentCustomer
{
get...
|
by: Spoon |
last post by:
Hello everyone,
I have a Packet class I use to send packets over the Internet. All the
packets sent in a session are supposed to share a common random ID.
I figured I'd use a static const...
|
by: BLUE |
last post by:
FirstClass members:
- static int counter;
- SingletonClass sc = SingletonClass.Instance;
Moreovere FirstClass uses a static class named SecondClass with a static
property...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|