//CruiseControl is open source software and is developed and maintained by a group of dedicated volunteers.
//CruiseControl is distributed under a BSD-style license.
//http://cruisecontrol.sourceforge.net/
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
namespace ThoughtWorks.CruiseControl.Core.Util
{
///
/// Class with handy stirng routines
///
public class StringUtil
{
///
/// generates a hashcode for the string array
///
///
///
public static int GenerateHashCode(params string[] values)
{
int hashcode = 0;
foreach (string value in values)
{
if (value != null)
hashcode += value.GetHashCode();
}
return hashcode;
}
}
}