Click here to Skip to main content
Click here to Skip to main content
 
Add your own
alternative version
Go to top

Threading paradigms available under the .NET CLR, using C#

, 22 Dec 2004
This article discusses the various threading paradigms available under the .NET CLR, using C#.
managedthreadcs-async.zip
ManagedThreadCS-Async.sln.old
App.ico
ManagedThreadCS-Async.csproj.user
managedthreadcs-pool.zip
App.ico
ManagedThreadCS-Pool.csproj.user
managedthreadcs-pool2.zip
App.ico
ManagedThreadCS-Pool.csproj.user
managedthreadcs.zip
App.ico
ManagedThreadCS.csproj.user
using System;

namespace ManagedThreadCS_Async
{
	/// <summary>
	/// Summary description for CGSR.
	/// </summary>
	public class CGSR
	{
  private String _symbol;
	 private String _currency;
	 private int    _spreadRank;
	 private int    _documentation;
	 private double _years;
  private int    _obligor;

		//public:
		public CGSR(String sym, String curr, int sr, int doc, double yrs)
		  {
		   _symbol = sym;
		   _currency = curr;
		   _spreadRank = sr;
		   _documentation = doc;
		   _years = yrs;
		  }

		public String GetSymbol() {return _symbol;}
		public String GetCurrency() {return _currency;}

		public int    GetSpreadRank() {return _spreadRank;}
		public int    GetDocumentation() {return _documentation;}
		public double GetYears() {return _years;}

		public void SetObligor(int i) {_obligor = i;}
		public int  GetObligor() {return _obligor;}

		protected CGSR() {;} // prevents instantiation without parameters
	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

Share

About the Author

Gary J. Kuehn
Engineer
United States United States
No Biography provided

| Advertise | Privacy | Mobile
Web02 | 2.8.140916.1 | Last Updated 23 Dec 2004
Article Copyright 2004 by Gary J. Kuehn
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid