rename variable to fit the lower camel case naming
This commit is contained in:
parent
da1cc7d7f4
commit
46bd30a722
|
@ -9,11 +9,11 @@ namespace se_12_log_entry
|
||||||
public static void Main(string[] args)
|
public static void Main(string[] args)
|
||||||
{
|
{
|
||||||
Stack<LogEntry> logEntries = new Stack<LogEntry>();
|
Stack<LogEntry> logEntries = new Stack<LogEntry>();
|
||||||
int id_counter = 0;
|
int idCounter = 0;
|
||||||
while (id_counter < 11)
|
while (idCounter < 11)
|
||||||
{
|
{
|
||||||
logEntries.Push(new LogEntry(id_counter, DateTime.Now));
|
logEntries.Push(new LogEntry(idCounter, DateTime.Now));
|
||||||
id_counter++;
|
idCounter++;
|
||||||
|
|
||||||
LogEntry newestEntry = logEntries.Peek();
|
LogEntry newestEntry = logEntries.Peek();
|
||||||
Console.WriteLine("ID:"
|
Console.WriteLine("ID:"
|
||||||
|
|
Reference in New Issue