What are you looking for exactly?
That 's rather too easy to do. Maybe you need to practice your coding skills more and ask for help less?![]()
Well this thread didn't go the way he thought it would LOL
yeah well instead of using the dot trick you could of just add +1 or what ever number to the end of the user, ie [email protected]
bingo alot more variations than bothering with the dot trick.
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Combinations;
namespace DotTrick
{
public static class DotTrickClass
{
public static List<string> Generate(string email, int maxEmails)
{
string emailName = email.Replace("@gmail.com", string.Empty).Trim();
List<string> results = new List<string>();
IEnumerable<int> positions = Enumerable.Range(1, emailName.Length - 1);
for (int i = 1; i <= positions.Count(); ++i)
{
Combinations<int> positionGenerator = new Combinations<int>(positions, i);
foreach (int[] currentPositions in positionGenerator)
{
StringBuilder emailBuilder = new StringBuilder(emailName);
foreach (int currentPosition in currentPositions.Reverse())
{
emailBuilder.Insert(currentPosition, '.');
}
results.Add(emailBuilder.ToString());
if (results.Count == maxEmails)
{
return results;
}
}
}
return results;
}
}
}
You have a code above, you can compile it yourself. Why would you need a project or a binary ?Please friends I know this post is old but someone have the linked file? also a link of code project of combinations?
if my request broke the rules please wrote me in private and cancel my post.
thank you in advance