In a large bowl, combine mayonnaise, sugar, vinegar, dill and salt if desired; mix well. Add cucumbers and onions and toss. Cover and chill for at least 1 hour.
Servings: 8