I need in a console application to have user input an integer in military time that be converted some how to 13:00 or 13:30 instead of1330 the pure number.
So that I can then take 1330and have the user input an endtimelike1430and increase it by25percentto come out with1445or 2:45. So your increases the total timefrom1 hour to1 hour and15 minutes.
The input will always be HHMM in military time
and like others, I am having problems using Events When I tried using the Hover event, nothing would happen when I Hovered over the Custom Textbox.
I know usually it would be better to ask the creator of it, but he's not responding to any questions sadly. This custom control is very important to me & would love it if someone could kindly help me
I think you should pick up a book on object oriented programming and go through it.
A case study will be good for a start but will not be enough to cover more detailed topics like operator overloading etc.
Just for the record, this is not a question that can be answered in a programming forum. Yes, someone could give you some sample code, but while it might give examples of all features, it would probably not explain them. And in any case, such an answer would take up far too much space. What you are asking for is the text of a book, which is beyond the capabilities of this site. Take a look at some of the links that others have provided and prepare to get down to some serious study.
i'm new at c#, so i convert my messenger project from vb.net to c#, but after dat the problem occurs.
i got an error saying
//The best overloaded method match for 'System.Net.Sockets.Socket.Receive(ref.System.Net.IPEndPoint)' has some invalid arguments// in this line :
data = ReceivingClient.Receive(endPoint);
i've tried to convert it to Byte but still can't work.
can someone please tell me what's wrong?
The CLR classes are the same, whether you call them from a VB.NET app or a C# app. So if the C# version doesn't work for you, well, something got lost in translation. Wasn't there a ByRef in your VB.NET app?