|
by: emma middlebrook |
last post by:
Hi
Straight to the point - I don't understand why System.Array derives
from IList (given the methods/properties actually on IList).
When designing an interface you specify a contract. Deriving from an
interface and only implementing some of it means something is wrong:
either the interface specification is wrong e.g. not minimal or the...
|
by: Michael Groeger |
last post by:
Hi,
is it possible to determine if the PropertyType of a property support IList?
We are inspecting all properties of a Type and we need to care about the
properties which have a type which supports IList. I tried to do the
following:
public void TestPropertiesOfType()
{
|
by: Giovanni Bassi |
last post by:
Hello All,
I have a class implementing IList and a global object of this class type.
I have two different form objects. One has a ListBox and the other has
ComboBox. Both of their datasources are set to this global object.
The problem is that when I select an item in the ListBox the combobox
selecteditem changes to the same item selected in...
|
by: RandomEngineer |
last post by:
So here's the challenge...
How can a collection (System.Collections.Generic.IList) of some custom type
be serialized in a web service using .NET 2.0?
Below are the class and the web methods in question. The interesting thing
is that at each step of the way, DAL & Biz, the someType class is decorated
with the Serializable attribute. And...
|
by: Lucian Wischik |
last post by:
Does ReadOnlyCollection<T> really implement IList<T>, like it claims
to do? ...
When I right-click on ReadOnlyCollection and look at its definition,
it says this:
public class ReadOnlyCollection<T>
: IList<T>,ICollection<T>,IEnumerable<T> ...
|
|
by: nicolas.rolland |
last post by:
Would anyone know the reson why IList<Tdoes not implements IList ??
This results in strange behaviours, like
typeof(IList).IsAssignableFrom(typeof(List<string>)) --true
typeof(IList).IsAssignableFrom(typeof(IList<string>)) --false
|
by: Edward Diener |
last post by:
Following the example in the help for the generic List class, which
shows the Serializable attribute being used on the generic class, like so:
generic<typename T>
public ref class List : IList<T>, ICollection<T>,
IEnumerable<T>, IList, ICollection, IEnumerable
I try to do the same for my own generic class, like so:
|
by: |
last post by:
Hi
I'm currently having trouble serializing an object to Xml, in the format I
need.
Below is the object definition.
-------------------------------
public class Folders
{
|
by: Shaul |
last post by:
Hi,
My goal is to serialize a collection of type IList<AbstractClass> which contains derived objects instances.
My domain object model is a bit complex so I've created a demmi one:
public abstract class ProductBase
{
protected int _id;
public int ID
|
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...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
|
|
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...
|
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...
|
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...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
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.
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
|