|
This is gold. If you think you have one year experience in C#, then you are a moron. Start again, actually learn some C#, and come back when you know enough to ask real questions, and understand real answers.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
I think he took a course and bought a book, and didn't use either of them up until this point. Midterms are usually around this time and I have a feeling someone has to redo a programming I course.
|
|
|
|
|
sheemap wrote: what relation in function and method
C# has methods. Some people refer to them as functions probably because that is what they are called in C and C++.
|
|
|
|
|
A method is a way you do things.
An object is a thing. Like a brick.
Class is something you either have, or you don't.
If you're asking about the fundamentals of oriented programming, then I suggest you get yourself a good book.
|
|
|
|
|
thanks alot darling
rizvan sivally
|
|
|
|
|
benjymous wrote:
Class is something you either have, or you don't.
That's great!
modified 12-Sep-18 21:01pm.
|
|
|
|
|
The first chapter of any C# book will cover these things. How can you claim to have any experience ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
to get more experience and knowledge
may u have different aspect to give expaination for me by any example
rizvan sivally
|
|
|
|
|
It is *impossible* to write C# code without knowing exactly what these things are. You just can't do it.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Maybe you could (badly) if you're of the drag-drop, double click, copy/paste mentality, but you'd have to be incredibly blind and intentionally dumb to not take any of it in.
If he's a C programmer trying to learn C#, then it could be an excuse, but if so he could've worded the original question better!
|
|
|
|
|
Why don,t you use Google?Lots of tutorials are available.and buy a basic book on C#.
Cheers!!
Brij
|
|
|
|
|
thanks alot darling
i am user of this website more than one year........
and fir time chatting with any user
rizvan sivally
|
|
|
|
|
Don't call anyone "darling". You're creeping us all out.
|
|
|
|
|
Thanks a ton Dave. I wanted to point it out but could not think of non-Soapboxy sentence for this.
C isn't that hard: void (*(*f[])())() defines f as an array of unspecified size, of pointers to functions that return pointers to functions that return void
"Always program as if the person who will be maintaining your program is a violent psychopath that knows where you live." - Martin Golding
|
|
|
|
|
Take a course, or use google.
"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
|
|
|
|
|
Hi,
Hope you are fine,
I wanna export some data to Primavera, but i do not now any thing about it , and i couldn'd find any C# sample in net. Does any one have experience in this issue? and have sample code, too?
|
|
|
|
|
Hi,
Did u got any reply - or good example in c#?
|
|
|
|
|
Hi,
How can I access the default web browser type(e.g. IE or Firefox), then feed a URL link to it for launching in c# ?
Thanks
|
|
|
|
|
Just use Process class and pass url of the website. It will launch the default browser itself.
|
|
|
|
|
i've a string that contains an IP and i want to convert it to long , but the long.parse(str) gives the exception "Input string was not in a correct format."
how can i convert this.
|
|
|
|
|
1. Make sure you remove dots from IP Address.
2. Instead of Parse use TryParse method so that you don't get exception at runtime.
3. Parsing may fail because of regional settings of computer.
|
|
|
|
|
thanx,i thought that long .parse() can convert ip with dots to long, if i need to do this i have to remove the dots and format the string isn't it, but again the problem is will IPEndPoint take it as an valid ip, my code is
IPEndPoint ipendpt = new IPEndPoint(long.Parse(xml.readViewdetails(SystemVariables.VIEWDEATAILS_IP)), 7576);
this method reads a xml file and return the ip as string , is there a better way i can do this?
|
|
|
|
|
Yes, you will need to remove dots. As for IPEndPoint it should take it as a valid ip address. Anyway, why don't you try it?
|
|
|
|
|
|
i tried the way you suggested , but got an error saying the "The requested address is not valid in its context"
the ip that i gave is "192.168.1.84" and made the string 192168184 by removing ".", now the ip taken is "248.64.116.11", could you tell me the problem here. is it a problem of byte order , if so how can i solve this ?
|
|
|
|