Connecting Tech Pros Worldwide Forums | Help | Site Map

How to use System.Math in C#?

Atran's Avatar
Needs Regular Fix
 
Join Date: May 2007
Location: Sweden
Posts: 323
#1: Jun 3 '07
Hello everybody, can anyone till me:
What we can do in System.ComponentModel

If you can give me easy example too.
Thanks for anyhelp.

Atran's Avatar
Needs Regular Fix
 
Join Date: May 2007
Location: Sweden
Posts: 323
#2: Jun 3 '07

re: How to use System.Math in C#?


Hello, What I can do in System.Collections and System.Collections.Generic.
If you can give me an easy example.
Thanks for anyhelp.
Atran's Avatar
Needs Regular Fix
 
Join Date: May 2007
Location: Sweden
Posts: 323
#3: Jun 3 '07

re: How to use System.Math in C#?


Hello, What I can do in System.Runtime.
If you can give me an easy example.
Thanks for anyhelp.
Atran's Avatar
Needs Regular Fix
 
Join Date: May 2007
Location: Sweden
Posts: 323
#4: Jun 3 '07

re: How to use System.Math in C#?


Hello, How I can use math in C#?
Thanks for anyhelp.
Atran's Avatar
Needs Regular Fix
 
Join Date: May 2007
Location: Sweden
Posts: 323
#5: Jun 3 '07

re: How to use System.Math in C#?


Hello, anyone can give me an example about System.Media !!!
And How I save the sound that I play it on my Form from [rtsp server].
I can make a new sound player, but I dont know how to play it:

Expand|Select|Wrap|Line Numbers
  1. System.Media.SoundPlayer x = new System.Media.SoundPlayer("rtsp://server40.gpg.com/iranian/Googoosh/1-akharinkhabar.rm");
  2.  
And this file cant be download, so how I can to stream the sound and save it......
Great Thanks for your help.
Atran's Avatar
Needs Regular Fix
 
Join Date: May 2007
Location: Sweden
Posts: 323
#6: Jun 3 '07

re: How to use System.Math in C#?


How I can use Data (System.Data) in C#, is that helpful.from using xml.
Thanks.
Atran's Avatar
Needs Regular Fix
 
Join Date: May 2007
Location: Sweden
Posts: 323
#7: Jun 3 '07

re: How to use System.Math in C#?


Hello, What can do in the System.Text ?
IF you can Give me an easy example.
Thanks.
Member
 
Join Date: Feb 2007
Posts: 79
#8: Jun 4 '07

re: How to use System.Math in C#?


Quote:

Originally Posted by Atran

Hello, anyone can give me an example about System.Media !!!
And How I save the sound that I play it on my Form from [rtsp server].
I can make a new sound player, but I dont know how to play it:

Expand|Select|Wrap|Line Numbers
  1. System.Media.SoundPlayer x = new System.Media.SoundPlayer("rtsp://server40.gpg.com/iranian/Googoosh/1-akharinkhabar.rm");
  2.  
And this file cant be download, so how I can to stream the sound and save it......
Great Thanks for your help.

The SoundPlayer object is used like this:

System.Media.SoundPlayer sp = new System.Media.SoundPlayer("C:\\Windows\\Media\\chor d.wav");
sp.Play();


But it will ONLY PLAY WAV files!
In your example you were trying to load a Real Player "rm" file. You cam forget about it.

PS: A simple search on MSDN would have given you the answer in no time.
Frinavale's Avatar
Site Moderator
 
Join Date: Oct 2006
Location: The Great White North
Posts: 5,137
#9: Jun 4 '07

re: How to use System.Math in C#?


Quote:

Originally Posted by Atran

Hello, What can do in the System.Text ?
IF you can Give me an easy example.
Thanks.

Hi Atran!

I have merged your last few threads into one thread.
It seems to me that, as blackjack2150 has stated, a simple google search would help you out a lot with these questions.

There are two sticky threads at the top of the .NET forum... be sure to check out the second sticky thread on Important links and and answers to commonly asked questions.

When I was first starting out with .NET I basically lived on the MSDN Library website. It has up-to-date information on each of the class libraries and every object. There are also examples on how to use the objects.

Cheers!
-Frinny
Motoma's Avatar
Moderator
 
Join Date: Jan 2007
Location: Maine, USA
Posts: 2,904
#10: Jun 4 '07

re: How to use System.Math in C#?


The MSDN is the best place to start with questions like this. Is holds documentation for the entire .NET Framework.
Reply