This was one of the first things I made when I started C# so it's kinda messy.

PHP Code:
            public String DotTrick(String Email)
        {
            
String Str String.Empty;
            foreach (
char character in Email.ToLower())
            {
                if (
character.ToString() != "@")
                {
                    
Str += character.ToString();

                    for (
int x 0random.Next(random.Next(110), random.Next(1115)); x++)
                    {
                        
Str += ".";
                    }
                }
                else
                {
                    break;
                }
            }
            
Email += "@gmail.com";
            return 
Email;
        }