Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Shashwat Rohilla

Member Since 13 Jan 2008
Offline Last Active Oct 20 2013 08:06 AM

Posts I've Made

In Topic: How to restart a Thread in C# .Net 4.0?

06 March 2012 - 10:42 PM

I have a thread which is started when the user clicks the 'Start' button.
Actually this is implementing a server which initializes a socket and then loops the socket.Accept().
I want to allow the user to stop the server, thus closing the thread; and then restarting it any number of times.

In Topic: How to restart a Thread in C# .Net 4.0?

06 March 2012 - 04:36 AM

sorry for posting it in the wrong section...
how to delete this?

In Topic: How to use .Net (C#) classes to generate XML strings?

28 February 2012 - 12:17 PM

The XmlSerializer and Deserializer are what you're looking for.


I saw them, they also require those Streams. I do not want to include any files in these.
The jochen's is exactly I was looking for.

In Topic: How to use .Net (C#) classes to generate XML strings?

28 February 2012 - 12:09 PM

thank you jochen.. it worked absolutely fine...
I just had to include System.Xml.Linq..

In Topic: Setting the Viewport for rendering

27 February 2012 - 06:52 AM

It helped me.
I was able to create two different viewports.
But I wanted to color both of them with different backgrounds.
I used GraphicsDevice(Color.Green) after setting it to different viewports but it renders the whole window (not just the specified viewport).

PARTNERS