Assume that your table name is MyData.
We create an instance of Random method to generate a random number of the list then we gonna replace the matching number of the index to pikachu
So try this out:
var random = new Random();
var usernameList = _context.MyData.select (x=>x.Username).ToList();
int index = random.Next(usernameList.Count);
var newList = usernameList .Select(s => s.Replace(usernameList[index],"pikachu")).ToList();
})
I've not tested this on my device but i think the concept will work for you!
NOTE: you may need to take care of converting int->string if needed. Also, try repeat the process for getting the second random element.