4,439 Posted Topics

Member Avatar for computerbear

Instead of SSN = Convert.ToString(Console.ReadLine()); use taxArray[x].SSN = Console.ReadLine(); // readline already returns a string

Member Avatar for computerbear
0
636
Member Avatar for nawaray82

You can also read this: [url]http://www.functionx.com/csharp/Lesson21.htm[/url]

Member Avatar for abelLazm
0
172
Member Avatar for xanawa

Your terminology is a bit confusing. Are we talking about menus in an application or menus from a restaurant?

Member Avatar for xanawa
0
101
Member Avatar for Mark_48
Member Avatar for muzikhera

Try this: [CODE=c#]String s = "12shshasj"; String newStr = String.Empty; if (char.IsDigit(s,0) && char.IsLetter(s,s.Length-1)) { newStr = s.Insert(0, "00"); }[/CODE]

Member Avatar for Mitja Bonca
0
385
Member Avatar for JakeA
Member Avatar for abelLazm
0
348
Member Avatar for virusisfound

Your question is not very clear. Do you mean something like this: [url]http://msdn.microsoft.com/en-us/library/dsxfcba1.aspx[/url]

Member Avatar for virusisfound
0
160
Member Avatar for kimbokasteniv

This is a little tutorial: [url]http://www.switchonthecode.com/tutorials/wpf-tutorial-custom-control-templates[/url] You will find more if you google.

Member Avatar for kimbokasteniv
0
265
Member Avatar for xanawa

On line 13 you called a method to give you the directoryname(GetDirectoryName), so that is what you get.

Member Avatar for abelLazm
0
164
Member Avatar for Dean_Grobler

You can perfectly develop C# applications using any texteditor you prefer(In the past I used [B]vi[/B] and I could still,use it for C#) Download a SDK from MS for free. The compiler command is [B]csc[/B], just try it out or dump it.

Member Avatar for ddanbe
0
350
Member Avatar for Suzie999
Member Avatar for gusano79
0
2K
Member Avatar for ddanbe

I mostly use Console or Forms applications in VS for my projects. Did anyone among you ever use an Empty Project when starting a new one? Well, it is as clean as you can get with Visual Studio! The world is at your feet! I use it mainly to test …

Member Avatar for ddanbe
2
969
Member Avatar for shyla

Hi Sheila, I have not the faintest idea what a [B]tiny tots tee-ball league[/B] is so I'm affraid I cannot help you.:(

Member Avatar for abelLazm
0
280
Member Avatar for yousafc#
Member Avatar for CsharpChico
0
100
Member Avatar for zifina
Member Avatar for zifina
0
237
Member Avatar for shyla
Member Avatar for ddanbe
0
200
Member Avatar for shyla
Member Avatar for shyla
0
352
Member Avatar for kent5244

Have a look at [B]DateTime [/B]members. Eg. the [B]Now [/B]property: [url]http://msdn.microsoft.com/en-us/library/system.datetime.now(v=VS.90).aspx[/url] BTW. I hate the word GUI, use UI instead!

Member Avatar for kent5244
0
2K
Member Avatar for stow19

Have you a Player class? In it you could keep properties like the players hand, the players score etc.

Member Avatar for ddanbe
0
87
Member Avatar for ddanbe

Ever wanted to know how to implement running lights? well here is your chance to find out. Open a new Forms application enlarge the Form a bit and drop a Panel and a Timer on it. Add the class ChasingLights to the solution, see code. Implement a form Load, panel …

Member Avatar for Saikalyankumar
5
997
Member Avatar for bahed121

In [url=http://www.daniweb.com/software-development/csharp/code/231400]this snippet[/url] I use some special string effects.

Member Avatar for bahed121
1
157
Member Avatar for stow19

Anybody in for a shuffle? [url]http://www.daniweb.com/software-development/csharp/code/269487[/url]

Member Avatar for stow19
0
124
Member Avatar for ashley11
Member Avatar for MackSwagga

IndexOf method:[url]http://msdn.microsoft.com/en-us/library/8bd0tetb(v=VS.90).aspx[/url] There is also a FindIndex method.

Member Avatar for MackSwagga
0
191
Member Avatar for Suzie999
Member Avatar for Suzie999
0
143
Member Avatar for Eyo

My car won't start!!! Help plz. Which car? What are the circumstances in which it won't start? etc. etc. Please refrase your question.

Member Avatar for GLOBusa
0
1K
Member Avatar for missc

Have a look at this: [url]http://www.codeproject.com/KB/webforms/Data_Relations.aspx[/url] Do you know aperson who calls himself "xanawa"?

Member Avatar for missc
0
78
Member Avatar for leo88
Member Avatar for stow19

Hi Stow19, welcome here at Daniweb. Use something like this: [CODE=c#]string[] names = new string[playerNames.Length]; for (int i = 0; i < playerNames.Length; i++) { names[i] = "p" + i.ToString(); }[/CODE]

Member Avatar for stow19
0
88
Member Avatar for xanawa

Have a look at this: [url]http://www.codeproject.com/KB/webforms/Data_Relations.aspx[/url] How is Christine btw?

Member Avatar for ddanbe
0
41
Member Avatar for Jessurider

Why do you always say "need help ........"? It can well be you need help, but if you make the titles of your threads a bit more informative, you will get help sooner. :) In this case your title could have been "What is the advantage of C#?"

Member Avatar for ddanbe
0
61
Member Avatar for Jessurider

To save the answer in sql server is possible. Show us your code so far. Please? :|

Member Avatar for abelLazm
0
92
Member Avatar for eoop.org
Member Avatar for Momerath
0
125
Member Avatar for eoop.org
Member Avatar for divin757
0
167
Member Avatar for Freedom*

Line 9 is wrong. Because you have to test that a string is equal to "sfere" or "cube" make them constants. Like this: [CODE=c#]const string aSfere = "sfere";[/CODE]

Member Avatar for Freedom*
0
171
Member Avatar for Tazsweet19

Nothing ever seems to happen with the variable [B]moveSpace [/B]defined on line 4

Member Avatar for Momerath
0
119
Member Avatar for gogs85

Google will be your friend. Example : [url]http://social.msdn.microsoft.com/forums/en-us/winforms/thread/17DE0FDF-1F18-4100-B472-6FE65FB4B6AE[/url]

Member Avatar for gogs85
0
674
Member Avatar for mohana88

If you open the properties of your console app and open the debug tab in the window that shows, you can set some command line arguments to test things out. Strange that you have to use some weird thing like a CmdParser, when all the command line arguments are passed …

Member Avatar for mohana88
0
586
Member Avatar for leo88
Member Avatar for ddanbe

Start a new Forms application and fill in the above code in the Forms.cs file. If after startup you drag one of the labels the text of the labels will be copied to the textbox.

Member Avatar for CsharpChico
1
1K
Member Avatar for manugm_1987

First of all, use code tags if you post code. Second, why would you want your program to leak? It will not.

Member Avatar for Momerath
0
189
Member Avatar for ashley11
Member Avatar for ashley11
0
122
Member Avatar for rose2020
Member Avatar for jay_el_em
Member Avatar for jay_el_em
0
167
Member Avatar for Kath_Fish

[QUOTE=Kath_Fish]but my coding just can display out the first output 2 1 after that will give me the error..."Index was outside bound of array"...what should i do..?[/QUOTE] Ever heard of a thing called "debugger"? The one in VS is a charm to work with, believe me.

Member Avatar for Kath_Fish
0
331
Member Avatar for samp4ever

While you are busy drawing some shapes, why not use that opportunity to also draw some strings? [url]http://msdn.microsoft.com/en-us/library/76c5db29.aspx[/url]

Member Avatar for ddanbe
0
177
Member Avatar for get2tk

Study a lot! Learn how to work with Visual Studio. Learn to work with the classes in .NET Learn how to make a winodws Forms application. Learn database design. Learn ADO.NET etc.

Member Avatar for srvstv.prnc
-1
71
Member Avatar for RogerInHawaii

Have a look at the BringToFront and SendToBack methods and [url]http://msdn.microsoft.com/en-us/library/system.windows.forms.control.updatezorder.aspx[/url]

Member Avatar for ddanbe
0
144
Member Avatar for ashley11

Or Remove: [CODE=c#]string str = "1 2 : 3"; int ind = str.IndexOf(':'); str = str.Remove(ind, 1); string[] split = str.Split(' ');[/CODE]

Member Avatar for CsharpChico
0
576
Member Avatar for TechSupportGeek
Member Avatar for CsharpChico
0
5K

The End.