|
by: reb |
last post by:
Hi,
How do i increase the size of the array without losing the
data of that array in c#?
thanks
|
by: David Rogers |
last post by:
Is this sequence about as efficient as I can get for sometimes expanding an
array?
MyClass MyFunc()
{
MyClass result = new MyClass ;
{
// Do stuff that might possibly allocate an array and put entries in
it
|
by: Haobin |
last post by:
Hi everyone,
I have an ArrayList whose members are classes. These classes are derived from a same base class. The base class has a floating point array and a string. How do I access each element in the floating point array in a member of the ArrayList?
Any help would be greatly appreciated.
Haobin
|
by: Sorin Sandu |
last post by:
Is it posible to modify the lenghth of an array ?
I want to do something like
int i = 0;
string debit = new string;
string credit = new string;
while (myread3.Read())
|
by: Craig |
last post by:
Hey Everyone -
I'm trying to determine the fastest way of moving array information around
and could use some help.
Here's the setup:
Class A stores a DateTime and an amount (a payment).
Class B is functionally an array of A objects (representing a cashflow).
Class C is functionally an array of B objects (representing an organization
of cashflows).
|
|
by: hazz |
last post by:
If this makes sense, I would like to convert an arraylist of objects
returned from foo() into an array of the objects themselves per;
private Customer customers;
private int idx = 0;
public CustomerQueueService()
{
customers = new Customer ;
customers = foo(); //I want to copy the returned arraylist
|
by: Russ Green |
last post by:
I am currently working on a small VB.NET utility that accesses the Microstation VBA object model via COM.
I have this code which I am trying to get to work...
The key bits of information are
Dim oEl As MicroStationDGN.Element
Dim oTagEl() As MicroStationDGN.TagElement
Dim oArrayList As New ArrayList
|
by: Stephen Travis |
last post by:
I'm trying to write a subroutine that will fill an array of some type with several objects of that type. The subroutine works fine
if I directly reference the array but if I pass the array as an Object, it throws a cast error. The only way I've been able to get
this to work is to return an ArrayList and then use the .CopyTo method of the ArrayList to stuff the ArrayList into my array. I've
tried DirectCast and several other methods to get...
|
by: fmlamela |
last post by:
Hi,
I have to create a bi-dimensional matrix, where each row is a int array of a specific size. For adding a new row, I use the ArrayList.Add (int ) command.
I would like now to convert this ArrayList object, to a int variable. I only managed to do it with a double "for loop" for reading each row and column.
Considering we have N rows and M columns, I have tried first trying to copy each single row:
int arr = new int;...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 we have to send another system
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|