I've never ever worked anywhere where there has not been someone who given the choice I would not work with again. It's a job, you do your work, put up with the people you don't like, accept there are probably people there that don't like you a lot, and look forward to the weekends.
- Josh Gray.
1 - it is RUDE to post your question again like this
2 - you are STILL not telling people you're using ASP.NET. We have an ASP.NET forum
3 - Overall, you're obviously not at a level where you should be doing this stuff, buy a basic C# book, learn that, then move on to web development.
public delegate void hd(string s);
public class class1
public void hello(string s)
public class program
static void Main()
class1 c= new class1();
hd d=new hd(c.hello);
i saved this program with .cs extension and run the program.but at the time of compilation it is showing the following error
the syntax of the command is incorrect
runned with csc :del.cs
compiled with: del
I am working in c sharp i am new with c# i am facing very basic problems i need to ask please tell me how i can use message to display any this if true or false i mean to say just guide me is their any class required to import in c# and then message can be display easily or no class or names peace required for using message in c sharp language please send me code of display message and also guide me what to do?
If you're doing a windows project, then MessageBox.Show("This is my message") is the easiest way to get a message on screen. If you're new, you should probably start with console apps. Console.WriteLine("hello world"); will work here. Note, your console app needs to end with Console.ReadLine() so it will stop long enough for you to read the output.
Driven to the arms of OSX by Vista.
Last Visit: 31-Dec-99 18:00 Last Update: 18-Jun-21 5:34