|
|
Buy a book. And tell your "instructor" to do the same. He's really not much better than you.
Also realize that he's "teaching" because he couldn't get a real job anywhere. He's a misfit. And you're asking for help, as a misfit, to satisfy yet another misfit. Very sad.
|
|
|
|
|
This person wants us to do his homework. Ignore!
|
|
|
|
|
|
Do you mean generics?
search for "c# generics"[^]
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
CP members please ignore this member. He is obviously too lazy to use Google to do his own homework.
|
|
|
|
|
|
by using reflection (i hope that's not too descriptive).
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
Damn you and your technical jargon.
|
|
|
|
|
|
it looks like hez preparing for an interview!
|
|
|
|
|
|
You really need to read this[^] article. You've asked two questions which you should have been able to find the answer to without too much trouble. Being able to answer questions for yourself is an important skill for a developer.
|
|
|
|
|
Yea C# does support the concept.
|
|
|
|
|
What is the concept of virtual base classes in C#
|
|
|
|
|
Virtual methods are usually placed inside absract classes (superclasses), and do some sort of 'grunt work'. Being marked virtual allows it to be overriden by methods in classes that inherit from it.
Think of the concept as a stack of bricks, and when you override the virtual method, you are generally inserting another block right in the middle of the stack.
Cheers,
|
|
|
|
|
Absolutely, C# don't support virtual base class.
Cheers,
|
|
|
|
|
I am new to network programming. May be its a basic question, I surely can get help with ur input.
I have a TCP Client class and when I have a message to send I initialize tcpclient, connect and send the message. Now I have a time out till i wait for response. I am waiting for response,
My question is : Can I send another message while waiting for response.
After I receive a response I close the tcpClient.It is a disconnected client.
|
|
|
|
|
I don't know about TcpClient class but the Socket class has asynchronous method calls like BeginSend, BeginAccept, etc.
|
|
|
|
|
TCP is a dual mode protocol and you can send while waiting on a response. You would have to use non-blocking code, however. (Asynchronous calls).
Based on your scenario the ungaraunteed UDP may be an option to consider.
Need a C# Consultant? I'm available.
Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway
|
|
|
|
|
I think i understand what you r saying, you have to wait until u get the response for the command. If there is any request in between (during wait), you have send it right?
For that you can use TCP asynchronous send/receive method, but u include a packet identifier eg. PACKET#1 as part of the message, on the receiver end the response should be made with this packet identifier. (like a handshake mechanism)
|
|
|
|
|
Hi, I just started using C# to try and make a program that does a small bit of things.
For starters I already have it loading pictures. But it saves them as the original size, I want it to save whats in the picture_box (which is 641x468). Another thing is I want the program to mirror a certain area of the picture_box in the picture_box below the certain area. I also want the program to add a 30% brightness to the mirrored section. I also want to be able to move the image I loaded in the picture_box and have the mirror update with the new mirrored section of the image, And I want it to save like that.
Is there any chance someone could help me out with this bit?
Im also using Visual Studio 2005.
I am bored with it all...
|
|
|
|
|
what is the mainwork of constructtor
hi friends do somthing different........from other..........
|
|
|
|
|
|
To construct a new object, for example a person object:
new Person("moron", true);
|
|
|
|