by: Alexander van Doormalen |
last post by:
I have a xml file with data from various sources. For example:
<root>
<Account>
<Id>1</Id>
<Name>Somename</Name>
<City>Somecity</City>
<ContactPersons>
<ContactPerson>
<Id>1</Id>
|
by: Peter Kirk |
last post by:
Hi
I have never used generics before, and I was wondering if the following sort
of use was acceptable/normal for a method:
public IList<IPerson> GetPersons()
{
IList<IPerson> personList =...
|
by: hammad.awan_nospam |
last post by:
Hello,
I'm wondering if it's possible to do the following with Generics:
Let's say I have a generic member variable as part of a generic class
like this:
List<DLinqQuery<TDataContext>>...
|
by: Kris Jennings |
last post by:
Hi,
I am trying to create a new generic class and am having trouble casting
a generic type to a specific type. For example,
public class MyClass<Twhere T : MyItemClass, new()
{
public...
|
by: Bryan Kyle |
last post by:
Hi All,
I'm fairly new to C# and Generics and I'm wondering if anyone has some
suggestions for me.
I'm trying to implement a simple DAO framework using generics to keep
my code as clean as I...
|
by: JCauble |
last post by:
I have a question about using Generics with Interfaces and some of there
inheritance issues / problems. If this is not possible what I describe below
I will have to go a different route and would...
|
by: Ajeet |
last post by:
hi
I am having some difficulty in casting using generics. These are the
classes.
public interface IProvider<PROF>
where PROF : IProviderProfile
{
//Some properties/methods
}
|
by: rkausch |
last post by:
Hello everyone,
I'm writing because I'm frustrated with the implementation of C#'s
generics, and need a workaround. I come from a Java background, and
am currently writing a portion of an...
|
by: Andrew Backer |
last post by:
I hope someone out there can help me with this, because I am stuck.
My problem is that I have an instance of a generic class, but I don't know
ahead of time what the type parameter used was. In...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
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: 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...
|